Chris McDonough
2013-07-31 5fc0d36724a6197c8c0106e846d8e78e1219b1fe
pyramid/config/util.py
@@ -110,7 +110,13 @@
                    notted = True
                pred = predicate_factory(realval, config)
                if notted:
                    pred = Notted(pred)
                    if getattr(pred, 'negatable', False):
                        pred = Notted(pred)
                    else:
                        raise ConfigurationError(
                            '%s is not a negatable predicate' % (pred.text(),),
                            )
                hashes = pred.phash()
                if not is_nonstr_iter(hashes):
                    hashes = [hashes]