Show the license list in sorted form
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 21 Jan 2012 22:58:03 +0000 (16:58 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 21 Jan 2012 22:58:03 +0000 (16:58 -0600)
mediagoblin/tools/licenses.py

index 44d8e494ed67601d46fed3e0e0b274cce1940cdd..d67510fab2d01a5a41d6176958479084675d4630 100644 (file)
@@ -49,7 +49,7 @@ SUPPORTED_LICENSES = dict(SORTED_SUPPORTED_LICENSES)
 def licenses_as_choices():
     license_list = []
 
-    for uri, data in SUPPORTED_LICENSES.items():
+    for uri, data in SORTED_SUPPORTED_LICENSES:
         license_list.append((uri, data["abbreviation"]))
 
     return license_list