~mdw
/
xtoys
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile.am, configure.ac: Spring-clean the build system.
[xtoys]
/
xcatch.in
diff --git
a/xcatch.in
b/xcatch.in
index
0f49a80
..
d6e51d1
100644
(file)
--- a/
xcatch.in
+++ b/
xcatch.in
@@
-304,6
+304,7
@@
class Catcher (object):
me._window.hide()
XT.delreason()
me._openp = False
me._window.hide()
XT.delreason()
me._openp = False
+ return True
@complain(True)
def _ready(me, file, *_):
@complain(True)
def _ready(me, file, *_):
@@
-403,8
+404,8
@@
def main():
name = '<stdin>'
catcher.watch_file(stdin)
else:
name = '<stdin>'
catcher.watch_file(stdin)
else:
- name = file
- catcher.watch(open(opts.file, 'r'))
+ name =
opts.
file
+ catcher.watch
_file
(open(opts.file, 'r'))
elif len(args) == 0:
name = '<stdin>'
catcher.watch_file(stdin)
elif len(args) == 0:
name = '<stdin>'
catcher.watch_file(stdin)