aboutsummaryrefslogtreecommitdiffstats
path: root/becommands
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-05 20:57:31 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-05 20:57:31 -0500
commit1f852b56004d50fd7412788a0ae208907acc1120 (patch)
treec5fe60dd2087ca12367f5e61a17bdbbe73a1f7d2 /becommands
parent1e32ab1eb4b4ed4d19de8514db1fd8c1b4fafc4e (diff)
downloadbugseverywhere-1f852b56004d50fd7412788a0ae208907acc1120.tar.gz
Remove Bug.target references from several becommands (all but target.py).
Diffstat (limited to 'becommands')
-rw-r--r--becommands/html.py4
-rw-r--r--becommands/merge.py2
-rw-r--r--becommands/new.py4
-rw-r--r--becommands/show.py1
4 files changed, 4 insertions, 7 deletions
diff --git a/becommands/html.py b/becommands/html.py
index 622a531..a031188 100644
--- a/becommands/html.py
+++ b/becommands/html.py
@@ -177,7 +177,7 @@ class HTMLGen (object):
'shortname':self.bd.bug_shortname(bug),
'comment_entries':comment_entries,
'generation_time':self.generation_time}
- for attr in ['uuid', 'severity', 'status', 'assigned', 'target',
+ for attr in ['uuid', 'severity', 'status', 'assigned',
'reporter', 'creator', 'time_string', 'summary']:
template_info[attr] = self._escape(getattr(bug, attr))
self._write_file(self.bug_file % template_info, [fullpath])
@@ -272,7 +272,7 @@ class HTMLGen (object):
if self.verbose:
print "\tCreating bug entry for %s" % self.bd.bug_shortname(bug)
template_info = {'shortname':self.bd.bug_shortname(bug)}
- for attr in ['uuid', 'severity', 'status', 'assigned', 'target',
+ for attr in ['uuid', 'severity', 'status', 'assigned',
'reporter', 'creator', 'time_string', 'summary']:
template_info[attr] = self._escape(getattr(bug, attr))
bug_entries.append(self.index_bug_entry % template_info)
diff --git a/becommands/merge.py b/becommands/merge.py
index 31c781f..8cf7e2f 100644
--- a/becommands/merge.py
+++ b/becommands/merge.py
@@ -51,7 +51,6 @@ def execute(args, manipulate_encodings=True, restrict_file_access=False):
Severity : minor
Status : open
Assigned :
- Target :
Reporter :
Creator : John Doe <jdoe@example.com>
Created : ...
@@ -96,7 +95,6 @@ def execute(args, manipulate_encodings=True, restrict_file_access=False):
Severity : minor
Status : closed
Assigned :
- Target :
Reporter :
Creator : Jane Doe <jdoe@example.com>
Created : ...
diff --git a/becommands/new.py b/becommands/new.py
index 92d61e4..00e8a47 100644
--- a/becommands/new.py
+++ b/becommands/new.py
@@ -37,8 +37,8 @@ def execute(args, manipulate_encodings=True, restrict_file_access=False):
True
>>> print bug.severity
minor
- >>> bug.target == None
- True
+ >>> print bug.status
+ open
>>> bd.cleanup()
"""
parser = get_parser()
diff --git a/becommands/show.py b/becommands/show.py
index cc43f9a..ab1708f 100644
--- a/becommands/show.py
+++ b/becommands/show.py
@@ -33,7 +33,6 @@ def execute(args, manipulate_encodings=True, restrict_file_access=False):
Severity : minor
Status : open
Assigned :
- Target :
Reporter :
Creator : John Doe <jdoe@example.com>
Created : ...