Comment 2 for bug 277073

Revision history for this message
Stani (stani) wrote :

If you don't specify a droplet, Phatch will now let you choose a recent action list.

$ bzr diff
=== modified file 'phatch/app.py'
--- phatch/app.py 2008-03-05 00:56:20 +0000
+++ phatch/app.py 2008-11-08 17:22:16 +0000
@@ -158,6 +158,8 @@
         settings['droplet'] = True
         paths.insert(0,'recent')
     if settings['droplet']:
+ if not paths:
+ paths = ['recent']
         _droplet(app_file,paths,settings)
     elif len(paths)>1 or settings['console'] or settings['interactive']:
         _console(paths,settings)

$ bzr commit -m "Fix --droplet command option without action list"
Committing to: /media/16gb/sync/python/phatch/trunk/
modified phatch/app.py
Committed revision 542.

I am unable to push it to bzr on launchpad at the moment. I'll try to fix that asap.