Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/rpms/sugar/0056-Let-call-the-frame-from-arbitrary-code-avoiding-curc.patch
blob: 70d9b3e8b5ddf2b1eeaea2127ff9dea765cc07fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 9640640f44486b325027b79be2117dab5472f496 Mon Sep 17 00:00:00 2001
From: Aleksey Lim <alsroot@member.fsf.org>
Date: Wed, 12 Jan 2011 19:32:31 +0000
Subject: [PATCH sugar 56/74] Let call the frame from arbitrary code avoiding
 curcular imports

---
 src/jarabe/frame/__init__.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/jarabe/frame/__init__.py b/src/jarabe/frame/__init__.py
index b3e4b80..a047b91 100644
--- a/src/jarabe/frame/__init__.py
+++ b/src/jarabe/frame/__init__.py
@@ -14,13 +14,11 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-from jarabe.frame.frame import Frame
-
-
 _view = None
 
 
 def get_view():
+    from jarabe.frame.frame import Frame
     global _view
     if not _view:
         _view = Frame()
-- 
1.7.6