filepicker / filepicker-django

A django plugin to make integrating with Filepicker.io even easier
Other
94 stars 29 forks source link

Replace mutable defaults with nonmutables #39

Closed pydanny closed 10 years ago

pydanny commented 10 years ago

Using mutables (dictionaries, lists, etc) as defaults in Python function or method declarations can lead to some really hard to debug race conditions. I switched two methods to use None as the default.