From cd00af6a98e91d623a44c81af824082f8d14d95b Mon Sep 17 00:00:00 2001 From: Rafael Ortiz Date: Mon, 20 Jun 2011 20:02:13 +0000 Subject: pep8 fixes --- (limited to 'ground.py') diff --git a/ground.py b/ground.py index 25139fe..f1cd069 100644 --- a/ground.py +++ b/ground.py @@ -28,6 +28,7 @@ def load(): if Document.ground and Document.ground.custom(): THEMES.append(Document.ground) + class Ground: def __init__(self, name, id): self.name = name @@ -51,6 +52,7 @@ class Ground: def select(self): return self + class PreinstalledGround(Ground): def __init__(self, name, filename): Ground.__init__(self, name, filename) @@ -59,6 +61,7 @@ class PreinstalledGround(Ground): def custom(self): return False + class CustomGround(Ground): def __init__(self, name, filename): Ground.__init__(self, name, None) @@ -71,11 +74,13 @@ class CustomGround(Ground): except: return None + class RestoredGround(Ground): def __init__(self, name, id, data): Ground.__init__(self, name, id) self._orig = pixbuf.from_str(data) + class JournalGround(Ground): def __init__(self, jobject): Ground.__init__(self, jobject.metadata['title'], jobject.object_id) -- cgit v0.9.1