<python plugin> inconsistence with indention style
Bug #200825 reported by
Matthew Street
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gladex |
Fix Committed
|
Medium
|
Christopher Pax |
Bug Description
I am using: gladex.pyc 0.4 installed with a .deb I found on this site.
When I loaded the calculator example and told it to convert the code to python, it worked fine...
I noticed when messing with the settings that if you set the indention to spaces, that this only affects the calculator.py file, but not the calculator_
To post a comment you must log in.
More specifically, the top part of the generated code in calculator_ callbacks. py is properly spaced at 4 spaces, but the indentation where the callback functions themselves are defined are tabs.
the code in question:
def on_quit_ activate( widget, data, wtree): ory_activate( widget, data, wtree): tory_activate' not implemented"
print "function 'on_quit_activate' not implemented"
pass
def on_fowardinhist
print "function 'on_fowardinhis
pass
def on_about_ dialog_ activate( widget, data, wtree): dialog_ activate' not implemented"
print "function 'on_about_
pass
def on_button_ press(widget, data, wtree):
print "function 'on_button_press' not implemented"
pass
def on_backinhistor y_activate( widget, data, wtree): ry_activate' not implemented"
print "function 'on_backinhisto
pass