I hope this amuses you as much as it did me: """Return the .bzrdir style format present in a directory.""" try: format_string = transport.get_bytes(".bzr/branch-format") - except errors.NoSuchFile: + except errors.NoSuchFile, errors.TransportNotPossible: raise errors.NotBranchError(path=transport.base) try: -- Martin <http://launchpad.net/~mbp/>