aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/workbench.py
diff options
context:
space:
mode:
authorNathan Yergler <nathan@yergler.net>2011-10-01 15:10:02 -0700
committerNathan Yergler <nathan@yergler.net>2011-10-01 15:10:02 -0700
commit243c3843bd574129caa7663e25d1a843b2d2dd30 (patch)
tree0171de5e911010b76e86c689bb5f5f8ce86845db /mediagoblin/workbench.py
parent573aba86b58c2ab064d0d57ed0bbae6bdf9a2819 (diff)
downloadmediagoblin-243c3843bd574129caa7663e25d1a843b2d2dd30.tar.lz
mediagoblin-243c3843bd574129caa7663e25d1a843b2d2dd30.tar.xz
mediagoblin-243c3843bd574129caa7663e25d1a843b2d2dd30.zip
Whitespace and formatting cleanup.
* Removed trailing whitespace * Line length < 80 where possible * Honor conventions on number of blank lines * Honor conventions about spaces around :, =
Diffstat (limited to 'mediagoblin/workbench.py')
-rw-r--r--mediagoblin/workbench.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mediagoblin/workbench.py b/mediagoblin/workbench.py
index 722f8e27..60a79f47 100644
--- a/mediagoblin/workbench.py
+++ b/mediagoblin/workbench.py
@@ -42,8 +42,10 @@ class Workbench(object):
def __unicode__(self):
return unicode(self.dir)
+
def __str__(self):
return str(self.dir)
+
def __repr__(self):
return repr(self.dir)
@@ -140,7 +142,7 @@ class WorkbenchManager(object):
self.base_workbench_dir = os.path.abspath(base_workbench_dir)
if not os.path.exists(self.base_workbench_dir):
os.makedirs(self.base_workbench_dir)
-
+
def create_workbench(self):
"""
Create and return the path to a new workbench (directory).