Forráskód Böngészése

Remove unused show_smart option on list and info commands

Change-Id: Idf0e161a0b0cc23a5a3ee44d18cb797162cfdd7b
David Pursehouse 12 éve
szülő
commit
da45e5d884
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 1 1
      subcmds/info.py
  2. 1 1
      subcmds/list.py

+ 1 - 1
subcmds/info.py

@@ -27,7 +27,7 @@ class Info(PagedCommand):
   helpSummary = "Get info on the manifest branch, current branch or unmerged branches"
   helpUsage = "%prog [-dl] [-o [-b]] [<project>...]"
 
-  def _Options(self, p, show_smart=True):
+  def _Options(self, p):
     p.add_option('-d', '--diff',
                  dest='all', action='store_true',
                  help="show full info and commit diff including remote branches")

+ 1 - 1
subcmds/list.py

@@ -31,7 +31,7 @@ List all projects; pass '.' to list the project for the cwd.
 This is similar to running: repo forall -c 'echo "$REPO_PATH : $REPO_PROJECT"'.
 """
 
-  def _Options(self, p, show_smart=True):
+  def _Options(self, p):
     p.add_option('-r', '--regex',
                  dest='regex', action='store_true',
                  help="Filter the project list based on regex or wildcard matching of strings")