aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/target.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-15 03:05:34 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-15 03:05:34 -0500
commiteb26ca7e4a6886f97740c45e9e3b7bdd2d08d76f (patch)
treecbd15139d4a46273e4fa1e5a3d5eb5383b22998d /libbe/command/target.py
parent4370270929db62a32d168ae221ecc70a2d80269e (diff)
downloadbugseverywhere-eb26ca7e4a6886f97740c45e9e3b7bdd2d08d76f.tar.gz
Transitioned set to Command-format
Diffstat (limited to 'libbe/command/target.py')
-rw-r--r--libbe/command/target.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/libbe/command/target.py b/libbe/command/target.py
index 39e12b2..034c532 100644
--- a/libbe/command/target.py
+++ b/libbe/command/target.py
@@ -25,7 +25,6 @@ import libbe.command.util
import libbe.command.depend
-
class Target (libbe.command.Command):
"""Assorted bug target manipulations and queries
@@ -70,12 +69,10 @@ class Target (libbe.command.Command):
])
self.args.extend([
libbe.command.Argument(
- name='id', metavar='BUG-ID', default=None,
- optional=True,
+ name='id', metavar='BUG-ID', optional=True,
completion_callback=libbe.command.util.complete_bug_id),
libbe.command.Argument(
- name='target', metavar='TARGET', default=None,
- optional=True,
+ name='target', metavar='TARGET', optional=True,
completion_callback=complete_target),
])