summaryrefslogtreecommitdiffstats
path: root/src/git_tftpd/writer.py
diff options
context:
space:
mode:
authorAlexander <alex@spline.inf.fu-berlin.de>2020-09-15 21:26:53 +0200
committerAlexander <alex@spline.inf.fu-berlin.de>2020-09-15 21:26:53 +0200
commit3f7505a50bc6b9b14809f921e977b13c69319db2 (patch)
treec85f5838a9bd28f2b3dd4376ccbf44f3904a2bf5 /src/git_tftpd/writer.py
parent27b3ebd4eb55174e67c643d864458371ad89eb66 (diff)
downloadgit-tftpd-master.tar.gz
git-tftpd-master.tar.bz2
git-tftpd-master.zip
Update to python3HEADmaster
Diffstat (limited to 'src/git_tftpd/writer.py')
-rw-r--r--src/git_tftpd/writer.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/git_tftpd/writer.py b/src/git_tftpd/writer.py
index bee731c..a181592 100644
--- a/src/git_tftpd/writer.py
+++ b/src/git_tftpd/writer.py
@@ -7,12 +7,11 @@ from .git import GitRepo
from tftp.backend import IWriter
from twisted.python import log
-from zope import interface
+from zope.interface import implementer
+@implementer(IWriter)
class GitWriter(object):
- interface.implements(IWriter)
-
def __init__(self, file_path, repo, remote):
file_dir = file_path.parent()
if not file_dir.exists():