[Pkg-privacy-commits] [pyptlib] 06/136: Syntax and documentation fixes
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:24:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository pyptlib.
commit 10712ec896efad53db8a410ec8b345cedf7a920d
Author: Brandon Wiley <brandon at blanu.net>
Date: Fri Jun 1 11:11:43 2012 -0500
Syntax and documentation fixes
---
src/pyptlib/client.py | 7 +++++++
src/pyptlib/config.py | 6 ++++++
src/pyptlib/server.py | 6 ++++++
3 files changed, 19 insertions(+)
diff --git a/src/pyptlib/client.py b/src/pyptlib/client.py
index 99fe730..ee88655 100644
--- a/src/pyptlib/client.py
+++ b/src/pyptlib/client.py
@@ -2,6 +2,13 @@ import os
from config import Config
+"""
+Configuration for a Pluggable Transport client.
+"""
+
+__docformat__ = 'restructuredtext'
+
+
class ClientConfig(Config):
clientTransports=[] # TOR_PT_CLIENT_TRANSPORTS
diff --git a/src/pyptlib/config.py b/src/pyptlib/config.py
index 203fded..19c5990 100644
--- a/src/pyptlib/config.py
+++ b/src/pyptlib/config.py
@@ -1,5 +1,11 @@
import os
+"""
+Comment
+"""
+
+__docformat__ = 'restructuredtext'
+
class Config:
stateLocation=None # TOR_PT_STATE_LOCATION
managedTransportVer=[] # TOR_PT_MANAGED_TRANSPORT_VER
diff --git a/src/pyptlib/server.py b/src/pyptlib/server.py
index 98dde52..f95f98e 100644
--- a/src/pyptlib/server.py
+++ b/src/pyptlib/server.py
@@ -2,6 +2,12 @@ import os
from config import Config
+"""
+Configuration for a Pluggable Transport server.
+"""
+
+__docformat__ = 'restructuredtext'
+
class ServerConfig(Config):
extendedServerPort=None # TOR_PT_EXTENDED_SERVER_PORT
ORPort=None # TOR_PT_ORPORT
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pyptlib.git
More information about the Pkg-privacy-commits
mailing list