Created
April 26, 2013 18:53
-
-
Save hub-cap/5469523 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MF507ZDF8X:reddwarf mbasnigh$ .tox/py27/bin/python | |
Python 2.7.2 (default, Mar 19 2012, 17:26:47) | |
[GCC 4.2.1 Compatible Apple Clang 3.0 (tags/Apple/clang-211.10.1)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from reddwarf.db import models; models.DatabaseModelBase._uuid_strategy | |
<function generate_uuid at 0x10912dcf8> | |
<unbound method DatabaseModelBase.generate_uuid> | |
>>> from reddwarf.db import models; models.DatabaseModelBase._uuid_strategy() | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
TypeError: unbound method generate_uuid() must be called with DatabaseModelBase instance as first argument (got nothing instead) | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment