~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/bzr_postinstall.py

  • Committer: John Arbash Meinel
  • Date: 2009-12-02 17:59:15 UTC
  • mto: This revision was merged to the branch mainline in revision 4854.
  • Revision ID: john@arbash-meinel.com-20091202175915-me81n1ovkuml4ake
Explicitly call stream.close() in the index code.

This isn't in a finally block, but it is 'good enough'. At least .close is
being called rather than waiting for the garbage collector to run.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006, 2007, 2009, 2010 by Canonical Ltd
 
1
# Copyright (C) 2005 by Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
341
341
                         "this library manually and put it to directory\n"
342
342
                         "where Bzr installed.\n"
343
343
                         "For detailed instructions see:\n"
344
 
                         "http://wiki.bazaar.canonical.com/BzrOnPureWindows"
 
344
                         "http://bazaar-vcs.org/BzrOnPureWindows"
345
345
                        ),
346
346
                        "Warning",
347
347
                        MB_OK | MB_ICONEXCLAMATION)