Mike Orr avatar Mike Orr committed b5f0613

Set version to 0.6.4-dev.

Comments (0)

Files changed (2)

     from setuptools import setup, find_packages
-version = '0.6.3'
+version = '0.6.4'


         literal(u'<select id="cc" name="cc">\\n<option selected="selected" value="VISA">VISA</option>\\n<option value="MasterCard">MasterCard</option>\\n<option selected="selected" value="Discover">Discover</option>\\n</select>')
         >>> select("currency", None, [["$", "Dollar"], ["DKK", "Kroner"]], prompt="Please choose ...")
         literal(u'<select id="currency" name="currency">\\n<option selected="selected" value="">Please choose ...</option>\\n<option value="$">Dollar</option>\\n<option value="DKK">Kroner</option>\\n</select>')
+        >>> select("privacy", 3L, [(1, "Private"), (2, "Semi-public"), (3, "Public")])
+        literal(u'<select id="privacy" name="privacy">\\n<option value="1">Private</option>\\n<option value="2">Semi-public</option>\\n<option selected="selected" value="3">Public</option>\\n</select>')
     _set_id_attr(attrs, id, name)
     attrs["name"] = name
     if selected_values is None:
         selected_values = ('',)
     # Turn a single string or integer into a list
-    elif isinstance(selected_values, (basestring, int)):
+    elif isinstance(selected_values, (basestring, int, long)):
         selected_values = (selected_values,)
     # Cast integer values to strings
     selected_values = map(unicode, selected_values)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.