mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
* massfile:
- fixed bug where to find example files, - made url get checked beforehand.
This commit is contained in:
parent
0a00f91d9b
commit
20f58ebcb6
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -1,6 +1,8 @@
|
||||
ubuntu-dev-tools (0.14) UNRELEASED; urgency=low
|
||||
|
||||
* massfile: fixed bug where to find example files.
|
||||
* massfile:
|
||||
- fixed bug where to find example files,
|
||||
- made url get checked beforehand.
|
||||
|
||||
-- Daniel Holbach <daniel.holbach@ubuntu.com> Thu, 27 Sep 2007 11:43:55 +0200
|
||||
|
||||
|
13
massfile
13
massfile
@ -43,9 +43,9 @@ def check_configfiles():
|
||||
|
||||
bin_path = os.path.dirname(os.path.abspath(__file__))
|
||||
if bin_path == "/usr/bin":
|
||||
example_dir = "/usr/share/doc/ubuntu-dev-tools/examples"
|
||||
example_dir = "/usr/share/doc/ubuntu-dev-tools/examples"
|
||||
else:
|
||||
example_dir = "%s/examples" % bin_path
|
||||
example_dir = "%s/examples" % bin_path
|
||||
|
||||
if not os.path.exists("instructions"):
|
||||
os.system("cp %s/massfile.instructions instructions" % example_dir)
|
||||
@ -87,10 +87,11 @@ def file_bug(config):
|
||||
def read_buglist(url):
|
||||
BugList = Connector.ConnectBugList()
|
||||
packages = set()
|
||||
|
||||
buglist = BugList(url)
|
||||
for bug in buglist.bugs:
|
||||
packages.add(bug.sourcepackage)
|
||||
|
||||
if url:
|
||||
buglist = BugList(url)
|
||||
for bug in buglist.bugs:
|
||||
packages.add(bug.sourcepackage)
|
||||
|
||||
return packages
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user