opkg.py/write_packages_file: call __str__ instead of __repr__

Commit b9eec00a67 correctly renamed
__repr__to __str__. A call site in write_packages_file was missed.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
This commit is contained in:
Alejandro del Castillo
2016-05-27 16:26:43 -05:00
parent 9e2381d9c7
commit ecd9a499d3

View File

@@ -533,7 +533,7 @@ class Packages(object):
names = list(self.packages.keys())
names.sort()
for name in names:
f.write(self.packages[name].__repr__())
f.write(self.packages[name].__str__())
return
def keys(self):