projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89b169c
)
(hooke_cli.py) Fixed small error catching in do_copylog
author
devicerandom
<devnull@localhost>
Thu, 31 Jul 2008 16:31:56 +0000
(16:31 +0000)
committer
devicerandom
<devnull@localhost>
Thu, 31 Jul 2008 16:31:56 +0000
(16:31 +0000)
hooke_cli.py
patch
|
blob
|
history
diff --git
a/hooke_cli.py
b/hooke_cli.py
index 3516823938356f23bc7c24cb399264115eedf6d0..460eccdd184b77d90377686e55977a180805d87d 100755
(executable)
--- a/
hooke_cli.py
+++ b/
hooke_cli.py
@@
-787,8
+787,8
@@
Syntax copylog [directory]
if len(item.notes)>0:
try:
shutil.copy(item.path, mydir)
- except
OSError
:
- print '
OSError. Cannot copy file.
Perhaps you gave me a wrong directory?'
+ except
(OSError, IOError)
:
+ print '
Cannot copy file. '+item.path+'
Perhaps you gave me a wrong directory?'
#OUTLET management
#-----------------