1. JanKanis
  2. python-inotify

Commits

JanKanis  committed 08814db

update __author__ and some small edits

  • Participants
  • Parent commits 529bd78
  • Branches default

Comments (0)

Files changed (3)

File inotify/__init__.py

View file
 # __init__.py - low-level interfaces to the Linux inotify subsystem
 
 # Copyright 2006 Bryan O'Sullivan <bos@serpentine.com>
-# Copyright 2012 Jan Kanis <jan.code@jankanis.nl>
+# Copyright 2012-2013 Jan Kanis <jan.code@jankanis.nl>
 
 # This library is free software; you can redistribute it and/or modify
 # it under the terms of version 2.1 of the GNU Lesser General Public
 # modified under the terms of any version of the GNU Lesser General Public 
 # License greater than 2.1. 
 
-'''Low-level interface to the Linux inotify subsystem.
+'''
+Low-level interface to the Linux inotify subsystem.
 
 The inotify subsystem provides an efficient mechanism for file status
 monitoring and change notification.
 associated constants and helper functions.
 
 For a higher-level interface that remains highly efficient, use the
-inotify.watcher package.'''
+inotify.watcher package.
+'''
 
-__author__ = "Bryan O'Sullivan <bos@serpentine.com>"
+__author__ = "Jan Kanis <jan.code@jankanis.nl>"
 
 from ._inotify import *
 

File inotify/_inotify.c

View file
  * _inotify.c - Python extension interfacing to the Linux inotify subsystem
  *
  * Copyright 2006 Bryan O'Sullivan <bos@serpentine.com>
- * Copyright 2012 Jan Kanis <jan.code@jankanis.nl>
+ * Copyright 2012-2013 Jan Kanis <jan.code@jankanis.nl>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of version 2.1 of the GNU Lesser General

File inotify/watcher.py

View file
 # watcher.py - high-level interfaces to the Linux inotify subsystem
 
 # Copyright 2006 Bryan O'Sullivan <bos@serpentine.com>
-# Copyright 2012 Jan Kanis <jan.code@jankanis.nl>
+# Copyright 2012-2013 Jan Kanis <jan.code@jankanis.nl>
 
 # This library is free software; you can redistribute it and/or modify
 # it under the terms of version 2.1 of the GNU Lesser General Public
 The AutoWatcher class is more useful, as it automatically watches
 newly-created directories on your behalf.'''
 
-__author__ = "Bryan O'Sullivan <bos@serpentine.com>"
+__author__ = "Jan Kanis <jan.code@jankanis.nl>"
 
 from . import _inotify as inotify
 import array
 
         events = []
         for evt in inotify.read(self.fd, bufsize):
-            event = Event(evt, None if evt.wd == -1 else self._wds[evt.wd][0] )
+            event = Event(evt, None if evt.wd == -1 else self._wds[evt.wd][0])
             events.append(event)
             if evt.mask & inotify.IN_IGNORED:
                 self._remove(evt.wd)
         continue with the walk, or raise the exception to abort the
         walk.'''
 
-        return [w for w in self.add_iter(path, mask, onerror)]
+        return list(self.add_iter(path, mask, onerror))
 
 
 class AutoWatcher(Watcher):