summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/tftpy_client.py2
-rwxr-xr-xbin/tftpy_server.py2
-rw-r--r--doc/conf.py3
-rwxr-xr-xsetup.py2
-rw-r--r--t/test.py2
-rw-r--r--tftpy/TftpClient.py2
-rw-r--r--tftpy/TftpContexts.py2
-rw-r--r--tftpy/TftpPacketFactory.py2
-rw-r--r--tftpy/TftpPacketTypes.py2
-rw-r--r--tftpy/TftpServer.py2
-rw-r--r--tftpy/TftpShared.py2
-rw-r--r--tftpy/TftpStates.py2
-rw-r--r--tftpy/__init__.py2
13 files changed, 26 insertions, 1 deletions
diff --git a/bin/tftpy_client.py b/bin/tftpy_client.py
index debca9d..12f38f7 100755
--- a/bin/tftpy_client.py
+++ b/bin/tftpy_client.py
@@ -1,4 +1,6 @@
#!/usr/bin/env python
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
import sys, logging, os
from optparse import OptionParser
diff --git a/bin/tftpy_server.py b/bin/tftpy_server.py
index 44a4869..a713563 100755
--- a/bin/tftpy_server.py
+++ b/bin/tftpy_server.py
@@ -1,4 +1,6 @@
#!/usr/bin/env python
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
import sys, logging
from optparse import OptionParser
diff --git a/doc/conf.py b/doc/conf.py
index 321490e..d3b40ec 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -1,4 +1,5 @@
-# -*- coding: utf-8 -*-
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
#
# TFTPy documentation build configuration file, created by
# sphinx-quickstart on Sun Jul 11 18:48:32 2010.
diff --git a/setup.py b/setup.py
index 8428617..7399001 100755
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,6 @@
#!/usr/bin/env python
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
from distutils.core import setup
diff --git a/t/test.py b/t/test.py
index 97a9a02..34cbc87 100644
--- a/t/test.py
+++ b/t/test.py
@@ -1,4 +1,6 @@
"""Unit tests for tftpy."""
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
import unittest
import logging
diff --git a/tftpy/TftpClient.py b/tftpy/TftpClient.py
index cc9cb5c..c366cae 100644
--- a/tftpy/TftpClient.py
+++ b/tftpy/TftpClient.py
@@ -1,3 +1,5 @@
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
"""This module implements the TFTP Client functionality. Instantiate an
instance of the client, and then use its upload or download method. Logging is
performed via a standard logging object set in TftpShared."""
diff --git a/tftpy/TftpContexts.py b/tftpy/TftpContexts.py
index 8aee475..836e01a 100644
--- a/tftpy/TftpContexts.py
+++ b/tftpy/TftpContexts.py
@@ -1,3 +1,5 @@
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
"""This module implements all contexts for state handling during uploads and
downloads, the main interface to which being the TftpContext base class.
diff --git a/tftpy/TftpPacketFactory.py b/tftpy/TftpPacketFactory.py
index ce08828..c07d9e7 100644
--- a/tftpy/TftpPacketFactory.py
+++ b/tftpy/TftpPacketFactory.py
@@ -1,3 +1,5 @@
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
"""This module implements the TftpPacketFactory class, which can take a binary
buffer, and return the appropriate TftpPacket object to represent it, via the
parse() method."""
diff --git a/tftpy/TftpPacketTypes.py b/tftpy/TftpPacketTypes.py
index 27a421c..4cb9159 100644
--- a/tftpy/TftpPacketTypes.py
+++ b/tftpy/TftpPacketTypes.py
@@ -1,3 +1,5 @@
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
"""This module implements the packet types of TFTP itself, and the
corresponding encode and decode methods for them."""
diff --git a/tftpy/TftpServer.py b/tftpy/TftpServer.py
index 7a12cfd..9b38536 100644
--- a/tftpy/TftpServer.py
+++ b/tftpy/TftpServer.py
@@ -1,3 +1,5 @@
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
"""This module implements the TFTP Server functionality. Instantiate an
instance of the server, and then run the listen() method to listen for client
requests. Logging is performed via a standard logging object set in
diff --git a/tftpy/TftpShared.py b/tftpy/TftpShared.py
index ed52d68..f66f182 100644
--- a/tftpy/TftpShared.py
+++ b/tftpy/TftpShared.py
@@ -1,3 +1,5 @@
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
"""This module holds all objects shared by all other modules in tftpy."""
from __future__ import absolute_import, division, print_function, unicode_literals
diff --git a/tftpy/TftpStates.py b/tftpy/TftpStates.py
index cfe4484..14d644d 100644
--- a/tftpy/TftpStates.py
+++ b/tftpy/TftpStates.py
@@ -1,3 +1,5 @@
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
"""This module implements all state handling during uploads and downloads, the
main interface to which being the TftpState base class.
diff --git a/tftpy/__init__.py b/tftpy/__init__.py
index f377461..1652aa1 100644
--- a/tftpy/__init__.py
+++ b/tftpy/__init__.py
@@ -1,3 +1,5 @@
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
"""
This library implements the tftp protocol, based on rfc 1350.
http://www.faqs.org/rfcs/rfc1350.html