Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pyfs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
pyfs
Commits
d6226210
Commit
d6226210
authored
May 24, 2014
by
willmcgugan@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for watch
parent
24bae94e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
fs/osfs/watch_inotify.py
+2
-2
setup.py
+1
-1
No files found.
fs/osfs/watch_inotify.py
View file @
d6226210
...
...
@@ -184,7 +184,7 @@ class OSFSWatchMixin(WatchableFSMixin):
watcher
.
handle_event
(
OVERFLOW
(
self
))
if
inevt
.
mask
&
pyinotify
.
IN_UNMOUNT
:
watcher
.
handle_event
(
CLOSE
(
self
))
def
__get_watch_thread
(
self
):
"""Get the shared watch thread, initializing if necessary.
...
...
@@ -219,7 +219,7 @@ class SharedThreadedNotifier(threading.Thread):
self
.
watchers
[
fd
]
=
watcher
self
.
_poller
.
register
(
fd
,
select
.
POLLIN
)
# Bump the poll object so it recognises the new fd.
os
.
write
(
self
.
_pipe_w
,
"H"
)
os
.
write
(
self
.
_pipe_w
,
b
"H"
)
def
del_watcher
(
self
,
watcher
):
fd
=
watcher
.
_pyinotify_WatchManager
.
get_fd
()
...
...
setup.py
View file @
d6226210
...
...
@@ -7,7 +7,7 @@ from setuptools import setup
import
sys
PY3
=
sys
.
version_info
>=
(
3
,)
VERSION
=
"0.5.
0
"
VERSION
=
"0.5.
1-dev
"
COMMANDS
=
[
'fscat'
,
'fscp'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment