summaryrefslogtreecommitdiffstats
path: root/src/git_tftpd/writer.py
diff options
context:
space:
mode:
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():