summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bugzilla/base.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bugzilla/base.py b/bugzilla/base.py
index e784450..d2b33e9 100644
--- a/bugzilla/base.py
+++ b/bugzilla/base.py
@@ -577,7 +577,10 @@ class BugzillaBase(object):
# let's try to save a network roundtrip here if possible..
for i in required:
if i not in data or not data[i]:
- raise TypeError, "required field missing or empty: '%s'" % i
+ if i == 'bug_file_loc':
+ data[i] = 'http://'
+ else:
+ raise TypeError, "required field missing or empty: '%s'" % i
# Sort of a chicken-and-egg problem here - check_args will save you a
# network roundtrip if your op_sys or rep_platform is bad, but at the
# expense of getting querydefaults, which is.. an added network