summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-bz2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-bz b/git-bz
index 4d39dba..d109f3b 100755
--- a/git-bz
+++ b/git-bz
@@ -1972,7 +1972,7 @@ else:
global_options, args = parser.parse_args()
-if global_options.add_url is None:
+if hasattr(global_options, 'add_url') and global_options.add_url is None:
global_options.add_url = True
if len(args) < min_args or len(args) > max_args: