ASKBOT/django-postgresql-fix-sequences — pull request #1 by akaihola (2012-11-28 09:21:37+00:00)
Title: `--tables` option crashes

The `--tables` option crashes with

Traceback (most recent call last):
File "django/core/management/base.py", line 222, in run_from_argv
self.execute(*args, **options.__dict__)
File "django/core/management/base.py", line 252, in execute
output = self.handle(*args, **options)
File "postgresql_sequence_utils/management/commands/postgresql_fix_sequences.py", line 60, in handle
validate_options(options)
File "postgresql_sequence_utils/utils.py", line 33, in validate_options
if ';' in table:
TypeError: argument of type 'builtin_function_or_method' is not iterable
TypeError: argument of type 'builtin_function_or_method' is not iterable