Nicer output
authorJoachim Breitner <mail@joachim-breitner.de>
Mon, 11 Aug 2008 02:31:11 +0000 (02:31 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Mon, 11 Aug 2008 02:31:11 +0000 (02:31 +0000)
apt-repository-merge

index ae3b05c..ca064d0 100644 (file)
@@ -59,6 +59,7 @@ for arch in config["arches"].split():
                output_packages[package_name] = ( repo, package,)
 
 
+    print "Writing Packages file for %s" % arch
     package_file = "dists/%s/%s/binary-%s/Packages" % (
            config["Dist"], config["Section"], arch)
     package_out_file = "%s/%s" % ( config["Output"], package_file)
@@ -92,7 +93,6 @@ if True:    # to match indentation with above
 
        print "Getting %s" % url
        file(cache,'w').write( urllib2.urlopen(url).read())
-       print "done."
 
        packages = deb822.Sources.iter_paragraphs(gzip.GzipFile(cache))
 
@@ -104,6 +104,7 @@ if True:    # to match indentation with above
                output_packages[package_name] = ( repo, package,)
 
 
+    print "Writing Sources file"
     package_file = "dists/%s/%s/sources/Sources" % ( config["Dist"], config["Section"])
     package_out_file = "%s/%s" % ( config["Output"], package_file)