aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/new.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-07-11 07:46:22 -0400
committerW. Trevor King <wking@drexel.edu>2009-07-11 07:46:22 -0400
commitf87355fddc2a931e3f984d074a713f4313d5f709 (patch)
tree4c217b7a2b9867c74e8f0f5bd1d05180cbbc6e90 /becommands/new.py
parent4038e118782113b404f0995e3c919d6e58195c22 (diff)
downloadbugseverywhere-f87355fddc2a931e3f984d074a713f4313d5f709.tar.gz
Adjustments to new versioned_property behavior.
Also adjusted libbe/comment.py to move to user-specified alt_ids, rather than uuids.
Diffstat (limited to 'becommands/new.py')
-rw-r--r--becommands/new.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/becommands/new.py b/becommands/new.py
index ec28138..922b5ed 100644
--- a/becommands/new.py
+++ b/becommands/new.py
@@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""Create a new bug"""
-from libbe import cmdutil, bugdir, settings_object
+from libbe import cmdutil, bugdir
__desc__ = __doc__
def execute(args, test=False):
@@ -36,7 +36,7 @@ def execute(args, test=False):
True
>>> print bug.severity
minor
- >>> bug.target == settings_object.EMPTY
+ >>> bug.target == None
True
"""
parser = get_parser()
@@ -56,7 +56,7 @@ def execute(args, test=False):
bug.reporter = bug.creator
if options.assigned != None:
bug.assigned = options.assigned
- elif bd.default_assignee != settings_object.EMPTY:
+ elif bd.default_assignee != None:
bug.assigned = bd.default_assignee
bd.save()
print "Created bug with ID %s" % bd.bug_shortname(bug)