GNOME Bugzilla – Bug 772826
cerbero: global name 'platform_str' is not defined
Last modified: 2016-10-31 14:35:20 UTC
After commit ab27e50941262a79d8975eebd76945f2300c5145 Cerbero is failing to build on a Windows platform with: NameError: global name 'platform_str' is not defined I believe there is a typo in cerbero/utils/__init__.py line 132. arch is being set above it, so the if should probably read 'if arch in ('x64', 'amd64'):'
Sounds right. Do you want to provide a patch?
Created attachment 337912 [details] [review] Patch to resolve bug
Thanks! commit f541eb209f9e253ea96a0acf241605722956e3ef Author: Kyle Schwarz <kyle.r.schwarz@gmail.com> Date: Mon Oct 17 23:57:23 2016 -0400 cerbero: fix typo in __init__.py ab27e50941262a79d8975eebd76945f2300c5145 was incomplete and references the removed platform_str variable. https://bugzilla.gnome.org/show_bug.cgi?id=772826