# HG changeset patch # User Jeff Hammel # Date 1291048293 28800 # Node ID e7948549afa125992f17fdd2136bfdbb515274b5 # Parent 1da1baa03ac1bd5b88b44085ad0e8931ae35c492 do some stuff diff -r 1da1baa03ac1 -r e7948549afa1 .fluxbox/keys --- a/.fluxbox/keys Mon Nov 29 07:21:30 2010 -0800 +++ b/.fluxbox/keys Mon Nov 29 08:31:33 2010 -0800 @@ -59,7 +59,7 @@ Control Mod1 l :ExecCommand echo http://letmegooglethatforyou.com/?q=$(xclip -o) | xclip -i Control Mod1 m :ExecCommand xterm -e alsamixer # mixer Control Mod1 o :ExecCommand xclip -o | /home/jhammel/python/onelineit.py | xclip -i # put the clipboard contents on one line -Control Mod1 p :ExecCommand xclip -o | /home/jhammel/python/pastebin.py | xclip -i # send the clipboard contents to pastebin and replace with the URL +Control Mod1 p :ExecCommand xclip -o | /home/jhammel/python/pastebin.py | xclip -i Control Mod1 q :ExecCommand xclip -o | sed 's/^/> /' | xclip -i # quote using >'s Control Mod1 s :ExecCommand /home/jhammel/bin/smartopen "$(xclip -o)" # smartopen Control Mod1 t :ExecCommand gnome-terminal # terminal diff -r 1da1baa03ac1 -r e7948549afa1 python/cli.py --- a/python/cli.py Mon Nov 29 07:21:30 2010 -0800 +++ b/python/cli.py Mon Nov 29 08:31:33 2010 -0800 @@ -50,7 +50,10 @@ return (_dict, tags, args) if __name__ == '__main__': - _dict, tags, args = main() + try: + _dict, tags, args = main() + except ParserError, e: + import pdb; pdb.set_trace() # for debugging print _dict print tags print args