fix faulty logic in prequest and pviews
| | |
| | | setup_logging(app_spec) |
| | | |
| | | def run(self): |
| | | if not self.args.config_uri and not self.args.path_info: |
| | | if not self.args.config_uri or not self.args.path_info: |
| | | self.out('You must provide at least two arguments') |
| | | return 2 |
| | | app_spec = self.args.config_uri |
| | |
| | | self.out("%sview predicates (%s)" % (indent, predicate_text)) |
| | | |
| | | def run(self): |
| | | if not self.args.config_uri and not self.args.url: |
| | | if not self.args.config_uri or not self.args.url: |
| | | self.out('Command requires a config file arg and a url arg') |
| | | return 2 |
| | | config_uri = self.args.config_uri |