summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Git.py
diff options
context:
space:
mode:
authorFabian Affolter <fabian@bernewireless.net>2010-06-08 08:16:41 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-06-09 08:09:54 -0500
commita2755d2d1a111ad4e55f88a166a5b02856d363cd (patch)
tree82dabe1dbbe429e9d5cbe554ffb16702a79041d2 /src/lib/Server/Plugins/Git.py
parente31f5234256e5234348fc67cf45e6f3462e1fbb8 (diff)
downloadbcfg2-a2755d2d1a111ad4e55f88a166a5b02856d363cd.tar.gz
bcfg2-a2755d2d1a111ad4e55f88a166a5b02856d363cd.tar.bz2
bcfg2-a2755d2d1a111ad4e55f88a166a5b02856d363cd.zip
Updated files to match PEP 257
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5904 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Git.py')
-rw-r--r--src/lib/Server/Plugins/Git.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Server/Plugins/Git.py b/src/lib/Server/Plugins/Git.py
index 9433c6481..aaeac12ae 100644
--- a/src/lib/Server/Plugins/Git.py
+++ b/src/lib/Server/Plugins/Git.py
@@ -1,4 +1,4 @@
-"""The Git plugin provides a revision interface for bcfg2 repos using git"""
+"""The Git plugin provides a revision interface for Bcfg2 repos using git."""
import os
from dulwich.repo import Repo
@@ -11,7 +11,7 @@ logger = logging.getLogger('Bcfg2.Plugins.Git')
class Git(Bcfg2.Server.Plugin.Plugin,
Bcfg2.Server.Plugin.Version):
- """Git is a version plugin for dealing with bcfg2 repos"""
+ """Git is a version plugin for dealing with Bcfg2 repos."""
name = 'Git'
__version__ = '$Id$'
__author__ = 'bcfg-dev@mcs.anl.gov'
@@ -35,7 +35,7 @@ class Git(Bcfg2.Server.Plugin.Plugin,
logger.debug("Initialized git plugin with git directory %s" % git_dir)
def get_revision(self):
- """Read git revision information for the bcfg2 repository"""
+ """Read git revision information for the Bcfg2 repository."""
try:
repo = Repo(self.datastore)
revision = repo.head()