summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabian Affolter <fabian@bernewireless.net>2010-06-02 16:53:57 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-06-03 10:07:57 -0500
commitd9d5223b72ff7fa772639dc9a84001d022512123 (patch)
treed1b21216090c3c3c6eefe39d1343e0abbe13da57 /src
parent713a98a21df437e44ac42d5bfb60e28427f3de5a (diff)
downloadbcfg2-d9d5223b72ff7fa772639dc9a84001d022512123.tar.gz
bcfg2-d9d5223b72ff7fa772639dc9a84001d022512123.tar.bz2
bcfg2-d9d5223b72ff7fa772639dc9a84001d022512123.zip
Standardized doc strings of the VCS plugins
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5880 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugins/Bzr.py2
-rw-r--r--src/lib/Server/Plugins/Fossil.py2
-rw-r--r--src/lib/Server/Plugins/Hg.py4
-rw-r--r--src/lib/Server/Plugins/Svn.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/Server/Plugins/Bzr.py b/src/lib/Server/Plugins/Bzr.py
index cd38d8e7e..7f43be474 100644
--- a/src/lib/Server/Plugins/Bzr.py
+++ b/src/lib/Server/Plugins/Bzr.py
@@ -24,7 +24,7 @@ class Bzr(Bcfg2.Server.Plugin.Plugin,
logger.debug("Initialized Bazaar plugin with directory = %(dir)s at revision = %(rev)s" % {'dir': datastore, 'rev': revision})
def get_revision(self):
- '''Read Bazaar revision information for the BCFG2 repository'''
+ """Read Bazaar revision information for the BCFG2 repository"""
try:
working_tree = WorkingTree.open(self.datastore)
revision = str(working_tree.branch.revno())
diff --git a/src/lib/Server/Plugins/Fossil.py b/src/lib/Server/Plugins/Fossil.py
index 0d04038bc..a7c9880f7 100644
--- a/src/lib/Server/Plugins/Fossil.py
+++ b/src/lib/Server/Plugins/Fossil.py
@@ -35,7 +35,7 @@ class Fossil(Bcfg2.Server.Plugin.Plugin,
% {'ffile': fossil_file, 'frev': revision})
def get_revision(self):
- '''Read fossil revision information for the bcfg2 repository'''
+ """Read fossil revision information for the bcfg2 repository"""
try:
data = Popen("env LC_ALL=C fossil info",
shell=True,
diff --git a/src/lib/Server/Plugins/Hg.py b/src/lib/Server/Plugins/Hg.py
index ef45a5af8..c9c5fe81c 100644
--- a/src/lib/Server/Plugins/Hg.py
+++ b/src/lib/Server/Plugins/Hg.py
@@ -9,7 +9,7 @@ logger = logging.getLogger('Bcfg2.Plugins.Mercurial')
class Hg(Bcfg2.Server.Plugin.Plugin,
Bcfg2.Server.Plugin.Version):
- """"Mercurial is a version plugin for dealing with bcfg2 repos"""
+ """Mercurial is a version plugin for dealing with bcfg2 repos"""
name = 'Mercurial'
__version__ = '$Id$'
__author__ = 'bcfg-dev@mcs.anl.gov'
@@ -33,7 +33,7 @@ class Hg(Bcfg2.Server.Plugin.Plugin,
logger.debug("Initialized hg plugin with hg directory = %s" % hg_dir)
def get_revision(self):
- '''Read hg revision information for the bcfg2 repository'''
+ """Read hg revision information for the bcfg2 repository"""
try:
repo_path = "%s/" % self.datastore
repo = hg.repository(ui.ui(), repo_path)
diff --git a/src/lib/Server/Plugins/Svn.py b/src/lib/Server/Plugins/Svn.py
index 1a5572c79..0765eb56c 100644
--- a/src/lib/Server/Plugins/Svn.py
+++ b/src/lib/Server/Plugins/Svn.py
@@ -32,7 +32,7 @@ class Svn(Bcfg2.Server.Plugin.Plugin,
logger.debug("Initialized svn plugin with svn directory = %s" % svn_dir)
def get_revision(self):
- '''Read svn revision information for the bcfg2 repository'''
+ """Read svn revision information for the bcfg2 repository"""
try:
data = Popen(("env LC_ALL=C svn info %s" %
(self.datastore)), shell=True,