diff options
author | Michael Trier <mtrier@gmail.com> | 2008-05-07 20:47:35 -0400 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2008-05-07 20:47:35 -0400 |
commit | 1f66cfbbce58b4b552b041707a12d437cc5f400a (patch) | |
tree | a71a31324498ab4eb4d673cdfb2d4b69209379ec /lib/git_python/git.py | |
parent | 7156cece3c49544abb6bf7a0c218eb36646fad6d (diff) | |
download | gitpython-1f66cfbbce58b4b552b041707a12d437cc5f400a.tar.gz |
just more documentation fixes.
Diffstat (limited to 'lib/git_python/git.py')
-rw-r--r-- | lib/git_python/git.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/git_python/git.py b/lib/git_python/git.py index 4bc8760a..4d7063f4 100644 --- a/lib/git_python/git.py +++ b/lib/git_python/git.py @@ -5,6 +5,9 @@ from utils import * from method_missing import MethodMissingMixin class Git(MethodMissingMixin): + """ + The Git class manages communication with the Git binary + """ def __init__(self, git_dir): super(Git, self).__init__() self.git_dir = git_dir @@ -16,7 +19,13 @@ class Git(MethodMissingMixin): return self.git_dir def execute(self, command): - print command + """ + Handles executing the command on the shell and consumes and returns + the returned information (stdout) + + ``command`` + The command to execute + """ proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, |