1
0
forked from VimPlug/jedi

fix pass indentation in functions

This commit is contained in:
David Halter
2013-05-02 11:33:14 +04:30
parent 01be114386
commit aebfb3d162

View File

@@ -455,7 +455,7 @@ class Function(Scope):
string += "def %s(%s):\n" % (self.name, params)
string += super(Function, self).get_code(True, indention)
if self.is_empty():
string += indention + 'pass\n'
string += 'pass\n'
return string
def is_empty(self):