Commits

Doug Hellmann committed e34bd36

Use old style string formatting instead of the format method to retain python 2.4 and 2.5 support

Comments (0)

Files changed (2)

docs/en/history.rst

   - Add :ref:`command-mktmpenv` command for creating temporary
     environments that are automatically removed when they are
     deactivated.
+  - Fixed a problem with hook_loader that prevented it from working
+    under Python 2.5 and 2.4.
 
 2.9
 

virtualenvwrapper/hook_loader.py

             continue
         plugin = ep.load()
         if options.listing:
-            print '  {0:10} -- {1}'.format(ep.name, inspect.getdoc(plugin) or '')
+            print '  %-10s -- %s' % (ep.name, inspect.getdoc(plugin) or '')
             continue
         if options.sourcing:
             # Show the shell commands so they can