[Pkg-bazaar-commits] ./bzr-builddeb/trunk r341: Add karmic.

James Westby james.westby at canonical.com
Sat Jul 4 19:17:28 UTC 2009


------------------------------------------------------------
revno: 341
committer: James Westby <james.westby at canonical.com>
branch nick: trunk
timestamp: Sat 2009-07-04 15:17:28 -0400
message:
  Add karmic.
modified:
  util.py
-------------- next part --------------
=== modified file 'util.py'
--- a/util.py	2009-05-06 16:57:26 +0000
+++ b/util.py	2009-07-04 19:17:28 +0000
@@ -209,7 +209,7 @@
             'testing', 'unstable', 'experimental', 'frozen')
     debian_targets = ('', '-security', '-proposed-updates', '-backports')
     ubuntu_releases = ('warty', 'hoary', 'breezy', 'dapper', 'edgy',
-            'feisty', 'gutsy', 'hardy', 'intrepid', 'jaunty')
+            'feisty', 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic')
     ubuntu_targets = ('', '-proposed', '-updates', '-security', '-backports')
     all_debian = [r + t for r in debian_releases for t in debian_targets]
     all_ubuntu = [r + t for r in ubuntu_releases for t in ubuntu_targets]
@@ -297,7 +297,9 @@
     for file_details in dsc['files']:
         name = file_details['name']
         _download_part(name, dsc_t, target_dir, file_details['md5sum'])
-    write_if_different(dsc_contents, os.path.join(target_dir, path))
+    target_file = os.path.join(target_dir, path)
+    write_if_different(dsc_contents, target_file)
+    return target_file
 
 
 def dget(dsc_location, target_dir):



More information about the Pkg-bazaar-commits mailing list