[mousetrap/gnome3-wip: 103/240] Main is gone.



commit 56392b01b11e6b8bb9cd3f109a933bf77ae4e1cf
Author: Stoney Jackson <dr stoney gmail com>
Date:   Thu Jun 19 22:13:47 2014 -0400

    Main is gone.

 src/mousetrap/main.py |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/src/mousetrap/main.py b/src/mousetrap/main.py
index c82b564..ca62ad6 100644
--- a/src/mousetrap/main.py
+++ b/src/mousetrap/main.py
@@ -21,14 +21,6 @@ DEFAULT_PARTS = [
 DEFAULT_LOOPS_PER_SECOND = 10
 
 
-class Main(object):
-    def __init__(self):
-        self._app = App()
-
-    def run(self):
-        self._app.run()
-
-
 class App(object):
     def __init__(self):
         self.image = None
@@ -106,4 +98,4 @@ class Loop(Observable):
 
 
 if __name__ == '__main__':
-    Main().run()
+    App().run()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]