WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 27747
27389
Bugzilla used inside scm.py, causes failure
https://bugs.webkit.org/show_bug.cgi?id=27389
Summary
Bugzilla used inside scm.py, causes failure
Eric Seidel (no email)
Reported
2009-07-17 14:56:54 PDT
Bugzilla used inside scm.py, causes failure Traceback (most recent call last): File "/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 670, in <module> main() File "/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 667, in main return tool.main() File "/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 662, in main return command_object.execute(command_options, command_args, self) File "/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 464, in execute bug_id = options.bug_id or commit_message.parse_bug_id() File "/Projects/WebKit/WebKitTools/Scripts/modules/scm.py", line 84, in parse_bug_id match = re.search(Bugzilla.bug_server_regex + "show_bug\.cgi\?id=(?P<bug_id>\d+)", line) NameError: global name 'Bugzilla' is not defined
Attachments
Add attachment
proposed patch, testcase, etc.
Joseph Pecoraro
Comment 1
2009-07-18 20:44:09 PDT
This one got me as well. Although technically correct, I wonder if the entire function call can be dropped (and therefore removing the Bugzilla reference). If the script assumes its looking for the first "show_bug.cgi" it can find then does the bug server really matter? How often does someone put multiple bug links in their commit message, and how often are they to different bugzilla servers? I removed the function call on my local version and it worked fine.
David Kilzer (:ddkilzer)
Comment 2
2009-07-28 16:12:38 PDT
*** This bug has been marked as a duplicate of
bug 27747
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug