summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Martini <seb@dbzteam.org>2008-11-04 12:42:17 +0100
committerSebastien Martini <seb@dbzteam.org>2008-11-04 12:42:17 +0100
commit46a7343c64fa1614dcef1e5044cd6c5caea4599e (patch)
tree0a0942bf053f9efecc7acace7aecb3aad8393bb7
parent146b46fc4ae569d467970e5809ae8a1645c9a3ce (diff)
downloadpyinotify-46a7343c64fa1614dcef1e5044cd6c5caea4599e.tar.gz
Removed annoying psyco message (suggested by Henri Tuhola).
-rwxr-xr-xpyinotify.py11
-rwxr-xr-xsetup.py4
2 files changed, 7 insertions, 8 deletions
diff --git a/pyinotify.py b/pyinotify.py
index 356d529..8e597da 100755
--- a/pyinotify.py
+++ b/pyinotify.py
@@ -55,7 +55,7 @@ import ctypes.util
__author__ = "seb@dbzteam.org (Sebastien Martini)"
-__version__ = "0.8.0t"
+__version__ = "0.8.1"
__metaclass__ = type # Use new-style classes by default
@@ -78,9 +78,8 @@ try:
import psyco
psyco.full()
except ImportError:
- log.info('Maybe it could speed-up a little bit'
- ' if you had psyco installed (not required).')
-
+ # Cannot import psyco
+ pass
### inotify's variables ###
@@ -1818,9 +1817,9 @@ def command_line():
s.proc_fun()))
cb_fun = cb
- wm.add_watch(path, mask, rec=options.recursive, auto_add=options.auto_add)
+ log.debug('Start monitoring %s, (press c^c to halt pyinotify)' % path)
- log.debug('start monitoring %s, (press c^c to halt pyinotify)' % path)
+ wm.add_watch(path, mask, rec=options.recursive, auto_add=options.auto_add)
# Loop forever (until sigint signal)
notifier.loop(callback=cb_fun)
diff --git a/setup.py b/setup.py
index 8b4174c..1139bc9 100755
--- a/setup.py
+++ b/setup.py
@@ -33,14 +33,14 @@ classif=[
setup(
name='pyinotify',
- version='0.8.0',
+ version='0.8.1',
description='Filesystem monitoring, use inotify',
author='Sebastien Martini',
author_email='sebastien.martini@gmail.com',
license='GPL 2',
platforms='Linux',
classifiers=classif,
- url='http://seb.dbzteam.org/pages/pyinotify-dev.html',
+ url='http://trac.dbzteam.org/pyinotify',
download_url='http://git.dbzteam.org/?p=pyinotify.git;a=snapshot;h=HEAD;sf=tgz',
py_modules=['pyinotify'],
)