]> git.pld-linux.org Git - packages/python-pygtail.git/blame - python-pygtail-bug-38.patch
rebuild with python 3.10
[packages/python-pygtail.git] / python-pygtail-bug-38.patch
CommitLineData
2892fc57
AM
1diff -urN pygtail-0.8.0.org/pygtail/core.py pygtail-0.8.0/pygtail/core.py
2--- pygtail-0.8.0.org/pygtail/core.py 2018-03-10 17:34:16.000000000 +0100
3+++ pygtail-0.8.0/pygtail/core.py 2018-04-05 09:26:52.894624325 +0200
4@@ -182,7 +182,7 @@
5 if self.on_update:
6 self.on_update()
7 offset = self._filehandle().tell()
8- inode = stat(self.filename).st_ino
9+ inode = fstat(self._filehandle().fileno()).st_ino
10 fh = open(self._offset_file, "w")
11 fh.write("%s\n%s\n" % (inode, offset))
12 fh.close()
This page took 0.222069 seconds and 4 git commands to generate.