projects
/
rainbowstream.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bumped version
[rainbowstream.git]
/
rainbowstream
/
interactive.py
diff --git
a/rainbowstream/interactive.py
b/rainbowstream/interactive.py
index 45b7853bc6829f782e3a057ef480bf3c68083fec..76755e8c21adf85dfc2fddb4835f1889021081b1 100644
(file)
--- a/
rainbowstream/interactive.py
+++ b/
rainbowstream/interactive.py
@@
-68,15
+68,20
@@
def read_history():
"""
Read history file
"""
"""
Read history file
"""
-
if os.path.isfile(c['HISTORY_FILENAME'])
:
+
try
:
readline.read_history_file(c['HISTORY_FILENAME'])
readline.read_history_file(c['HISTORY_FILENAME'])
+ except:
+ pass
def save_history():
"""
Save history to file
"""
def save_history():
"""
Save history to file
"""
- readline.write_history_file(c['HISTORY_FILENAME'])
+ try:
+ readline.write_history_file(c['HISTORY_FILENAME'])
+ except:
+ pass
def init_interactive_shell(d):
def init_interactive_shell(d):