Skip to content

Commit

Permalink
Added function get_inotify_instance.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Delle Cave committed Nov 15, 2019
1 parent 02f99e2 commit be01dff
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
python-dwho (0.3.3) unstable; urgency=medium

* Added function get_inotify_instance.

-- Adrien DELLE CAVE (Decryptus) <adc@doowan.net> Fri, 15 Nov 2019 18:22:43 +0100

python-dwho (0.3.2) unstable; urgency=medium

* Reviewed requirements.
Expand Down
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.2
0.3.3
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.2
0.3.3
7 changes: 5 additions & 2 deletions dwho/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@


def stop(signum, stack_frame): # pylint: disable=unused-argument
for thread in DWHO_THREADS:
thread()
for t in DWHO_THREADS:
t()

def get_server_id(conf):
server_id = getfqdn()
Expand All @@ -55,6 +55,9 @@ def get_server_id(conf):

return server_id

def get_inotify_instance():
return _INOTIFY

def parse_conf(conf, load_creds = False):
global _INOTIFY

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pyinotify
redis>=2.4.0
requests>=2.0
six>=1.12.0
sonicprobe>=0.3.3
sonicprobe>=0.3.4
4 changes: 2 additions & 2 deletions setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: dwho
author: Adrien Delle Cave
author_email: pypi@doowan.net
copyright: '2019 Adrien Delle Cave'
release: '0.3.2'
version: '0.3.2'
release: '0.3.3'
version: '0.3.3'
license: License GPL-3
url: https://github.com/decryptus/dwho
python_requires:
Expand Down

0 comments on commit be01dff

Please sign in to comment.