Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imports are referenced incorrectly #50

Open
jamesalbert opened this issue Feb 28, 2017 · 0 comments
Open

imports are referenced incorrectly #50

jamesalbert opened this issue Feb 28, 2017 · 0 comments

Comments

@jamesalbert
Copy link

for example:

import sudoku.SudokuBoardGenerator;
import sudoku.SudokuFile;

public class BTSolverExample {

	public static void main(String[] args)
	{
		SudokuFile sf = SudokuBoardGenerator.generateBoard(9, 3, 3, 12);

will convert to:

import sudoku.SudokuBoardGenerator
import sudoku.SudokuFile


class BTSolverExample(object):
    """ generated source for class BTSolverExample """
    @classmethod
    def main(cls, args):
        """ generated source for method main """
        sf = SudokuBoardGenerator.generateBoard(9, 3, 3, 12)

but it should be:

import sudoku.SudokuBoardGenerator
import sudoku.SudokuFile


class BTSolverExample(object):
    """ generated source for class BTSolverExample """
    @classmethod
    def main(cls, args):
        """ generated source for method main """
        sf = sudoku.SudokuBoardGenerator.generateBoard(9, 3, 3, 12)

to point it out, SudokuBoardGenerator should be sudoku.SudokuBoardGenerator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant