From: Tony Mack Date: Fri, 20 May 2011 13:55:43 +0000 (-0400) Subject: fix syntax error X-Git-Tag: sfa-1.0-22~37 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=96cde536a547761f53221a2f8ac861edde597319;p=sfa.git fix syntax error --- diff --git a/sfa/rspecs/pg_rspec.py b/sfa/rspecs/pg_rspec.py index c0a8c064..b60041a5 100755 --- a/sfa/rspecs/pg_rspec.py +++ b/sfa/rspecs/pg_rspec.py @@ -49,10 +49,10 @@ class PGRSpec(RSpec): self.create() def __get_template(self): - if self.type = 'adversisement': + if self.type == 'adversisement': rspec_type = 'ad' else: - rspec_type = 'request' + rspec_type == 'request' return self.tempate % locals() def create():