From f1a6b14fdc5402f9ed765a8a342d9c07c5b91e2d Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Wed, 3 Jun 2009 16:01:11 -0700 Subject: Create an abstract Manifest base class This will help as we add support for another manifest type. Signed-off-by: Shawn O. Pearce --- main.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index 70ddeffa..a60641d7 100755 --- a/main.py +++ b/main.py @@ -32,11 +32,9 @@ from git_config import close_ssh from command import InteractiveCommand from command import MirrorSafeCommand from command import PagedCommand -from editor import Editor from error import ManifestInvalidRevisionError from error import NoSuchProjectError from error import RepoChangedException -from manifest_xml import XmlManifest from pager import RunPager from subcmds import all as all_commands @@ -97,8 +95,6 @@ class _Repo(object): sys.exit(1) cmd.repodir = self.repodir - cmd.manifest = XmlManifest(cmd.repodir) - Editor.globalConfig = cmd.manifest.globalConfig if not isinstance(cmd, MirrorSafeCommand) and cmd.manifest.IsMirror: print >>sys.stderr, \ -- cgit v1.2.3-54-g00ecf