diff options
Diffstat (limited to 'rpms/sugar/0056-Let-call-the-frame-from-arbitrary-code-avoiding-curc.patch')
-rw-r--r-- | rpms/sugar/0056-Let-call-the-frame-from-arbitrary-code-avoiding-curc.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/rpms/sugar/0056-Let-call-the-frame-from-arbitrary-code-avoiding-curc.patch b/rpms/sugar/0056-Let-call-the-frame-from-arbitrary-code-avoiding-curc.patch new file mode 100644 index 0000000..70d9b3e --- /dev/null +++ b/rpms/sugar/0056-Let-call-the-frame-from-arbitrary-code-avoiding-curc.patch @@ -0,0 +1,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 + |