projects
/
browser-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29d475a
)
Unbreak the no-config-file case after last commit
author
Steven Luo
<steven+maemo@steven676.net>
Fri, 11 Dec 2009 10:56:22 +0000
(
02:56
-0800)
committer
Steven Luo
<steven+maemo@steven676.net>
Fri, 11 Dec 2009 10:56:22 +0000
(
02:56
-0800)
Thinko in the last commit left LaunchBrowser potentially undefined in
the no-config-file case.
browser-switchboard
patch
|
blob
|
history
diff --git
a/browser-switchboard
b/browser-switchboard
index
8873c24
..
e922cee
100755
(executable)
--- a/
browser-switchboard
+++ b/
browser-switchboard
@@
-197,7
+197,7
@@
def readconfigfile(signalnum=None, frame=None):
execfile(os.getenv("HOME", "/home/user") + "/.config/browser-proxy", globals())
except:
# No valid config file available
- return
+ pass
launcher.UpdateDefaultBrowser()
setconfigdefaults()