File: 02-fix_entrypoints_imports.patch

package info (click to toggle)
bpython 0.12-1.2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 764 kB
  • ctags: 699
  • sloc: python: 5,006; makefile: 37; sh: 37
file content (18 lines) | stat: -rw-r--r-- 406 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: David Paleino <dapal@debian.org>
Subject: fix import, so that gtk_.py can be safely put outside PYTHONPATH
Forwarded: not-needed

---
 data/bpython-gtk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- bpython.orig/data/bpython-gtk
+++ bpython/data/bpython-gtk
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 
 import sys
-from bpython.gtk_ import main
+from gtk_ import main
 
 sys.exit(main())