~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/devscripts/sourcecode.py

  • Committer: Henning Eggers
  • Date: 2011-09-05 16:49:39 UTC
  • mto: This revision was merged to the branch mainline in revision 13881.
  • Revision ID: henning@canonical.com-20110905164939-k8khh4azlp3ldk6c
Sort sourcedeps.cache automatically.

Show diffs side-by-side

added added

removed removed

Lines of Context:
224
224
    if cache == old_cache:
225
225
        return
226
226
    with open(cache_filename, 'wb') as cache_file:
227
 
        json.dump(cache, cache_file, indent=4)
 
227
        json.dump(cache, cache_file, indent=4, sort_keys=True)
228
228
    if not quiet:
229
229
        print 'Cache updated.  Please commit "%s".' % cache_filename
230
230