[pypy-svn] r55757 - pypy/django/django/db/models
antocuni at codespeak.net
antocuni at codespeak.net
Wed Jun 11 15:40:22 CEST 2008
Author: antocuni
Date: Wed Jun 11 15:40:22 2008
New Revision: 55757
Modified:
pypy/django/django/db/models/options.py
Log:
remove this lines that we added, they are not needed when using pypy-c --oldstyle
Modified: pypy/django/django/db/models/options.py
==============================================================================
--- pypy/django/django/db/models/options.py (original)
+++ pypy/django/django/db/models/options.py Wed Jun 11 15:40:22 2008
@@ -58,9 +58,6 @@
meta_attrs = self.meta.__dict__.copy()
del meta_attrs['__module__']
del meta_attrs['__doc__']
- for name in ['__dict__', '__weakref__']:
- if name in meta_attrs:
- del meta_attrs[name]
for attr_name in DEFAULT_NAMES:
if attr_name in meta_attrs:
setattr(self, attr_name, meta_attrs.pop(attr_name))
More information about the Pypy-commit
mailing list