# HG changeset patch # User Julien Cristau # Date 1397143910 -7200 # Node ID fcb6720235531cdfa7f885277bc7c43c8aa098c7 # Parent 5a59d983537153b24558bd96d7e5e47710b48faf [cwconfig] use "foo not in bar" instead of "not foo in bar" diff -r 5a59d9835371 -r fcb672023553 cwconfig.py --- a/cwconfig.py Thu Apr 10 15:28:21 2014 +0200 +++ b/cwconfig.py Thu Apr 10 17:31:50 2014 +0200 @@ -991,7 +991,7 @@ super(CubicWebConfiguration, self).adjust_sys_path() # adding apphome to python path is not usually necessary in production # environments, but necessary for tests - if self.apphome and not self.apphome in sys.path: + if self.apphome and self.apphome not in sys.path: sys.path.insert(0, self.apphome) @property