mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-12-03 16:23:46 +03:00
generator: Remove dead variable assignments
Signed-off-by: Philipp Hahn <hahn@univention.de>
This commit is contained in:
@@ -1149,7 +1149,6 @@ def is_python_noninteger_type(name):
|
||||
def nameFixup(name, classe, type, file):
|
||||
# avoid a disastrous clash
|
||||
listname = classe + "List"
|
||||
ll = len(listname)
|
||||
l = len(classe)
|
||||
if name[0:l] == listname:
|
||||
func = name[l:]
|
||||
@@ -1839,7 +1838,6 @@ def buildWrappers(module):
|
||||
classes.write("\n")
|
||||
# Append "<classname>.py" to class def, iff it exists
|
||||
try:
|
||||
wantfuncs = []
|
||||
extra = open("libvirt-override-" + classname + ".py", "r")
|
||||
classes.write(" #\n")
|
||||
classes.write(" # %s methods from %s.py (hand coded)\n" % (classname, classname))
|
||||
|
||||
Reference in New Issue
Block a user