Skip to content

Commit 8b12da6

Browse files
author
Troy Melhase
committed
Updates to reference "java2python" package.
1 parent 409288e commit 8b12da6

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

__init__.py

Whitespace-only changes.

bin/java_to_python

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import os.path
55
import sys
66

77

8-
from lib.lexer import Lexer
9-
from lib.parser import Parser
10-
from lib.walker import Walker
8+
from java2python.lib.lexer import Lexer
9+
from java2python.lib.parser import Parser
10+
from java2python.lib.walker import Walker
11+
from java2python.lib.sourcetypes import Module, set_config
1112

12-
from lib.sourcetypes import Module, set_config
1313

1414
try:
1515
import psyco

lib/sourcetypes.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
from cStringIO import StringIO
1919
import re
2020

21-
import defaultconfig
22-
import walker
23-
2421

2522
I = ' ' * 4
2623

@@ -38,7 +35,7 @@ def import_name(name):
3835

3936
def set_config(names, includeDefault=True):
4037
if includeDefault:
41-
names.insert(0, 'lib.defaultconfig')
38+
names.insert(0, 'java2python.lib.defaultconfig')
4239
Source.config = Config(*names)
4340

4441

0 commit comments

Comments
 (0)