projects
/
pycomedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bb319f
)
Fix subdevice._device -> subdevice.device in _MMapReadWriteThread._fileno().
author
W. Trevor King
<wking@drexel.edu>
Tue, 20 Mar 2012 01:07:00 +0000
(21:07 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Tue, 20 Mar 2012 01:07:00 +0000
(21:07 -0400)
When I was writing the Cython implementation, I initially tried to
keep more things private, before realizing that that wasn't a good
idea. This snippit missed the initial transition.
pycomedi/utility.py
patch
|
blob
|
history
diff --git
a/pycomedi/utility.py
b/pycomedi/utility.py
index 203a1dfceb0157c7eca88e72a04853b59e41529f..890c84537669a8ba84238af4290275b6df57c37e 100644
(file)
--- a/
pycomedi/utility.py
+++ b/
pycomedi/utility.py
@@
-350,7
+350,7
@@
class _MMapReadWriteThread (_ReadWriteThread):
return self.subdevice.get_buffer_size()
def _fileno(self):
- return self.subdevice.
_
device.fileno()
+ return self.subdevice.device.fileno()
def _action_bytes(self):
return self.subdevice.get_buffer_contents()