summaryrefslogtreecommitdiff
path: root/lib/git_python/method_missing.py
diff options
context:
space:
mode:
authorFlorian Apolloner <florian@apolloner.eu>2008-05-20 15:56:38 +0200
committerFlorian Apolloner <florian@apolloner.eu>2008-05-20 15:56:38 +0200
commit35ddb45b41b3de2d4f783608ad8d8752f6557997 (patch)
treeaa5cc1acfcf65a4c7889846c227e85386090f719 /lib/git_python/method_missing.py
parent1dc09f0ece61ef2bd629e8bfe532aa24f4f8e0c2 (diff)
downloadgitpython-35ddb45b41b3de2d4f783608ad8d8752f6557997.tar.gz
removed unneeded spaces
Diffstat (limited to 'lib/git_python/method_missing.py')
-rw-r--r--lib/git_python/method_missing.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/git_python/method_missing.py b/lib/git_python/method_missing.py
index 63bc36a9..478ee1d3 100644
--- a/lib/git_python/method_missing.py
+++ b/lib/git_python/method_missing.py
@@ -1,9 +1,9 @@
class MethodMissingMixin(object):
- """
- A Mixin' to implement the 'method_missing' Ruby-like protocol.
-
+ """
+ A Mixin' to implement the 'method_missing' Ruby-like protocol.
+
This was `taken from a blog post <http://blog.iffy.us/?p=43>`_
- """
+ """
def __getattribute__(self, attr):
try:
return object.__getattribute__(self, attr)
@@ -15,7 +15,7 @@ class MethodMissingMixin(object):
def __call__(self, *args, **kwargs):
return self.__wrapped__.method_missing(self.__method__, *args, **kwargs)
return MethodMissing(self, attr)
-
+
def method_missing(self, *args, **kwargs):
""" This method should be overridden in the derived class. """
raise NotImplementedError(str(self.__wrapped__) + " 'method_missing' method has not been implemented.")