~therp-nl/anybox.recipe.openerp/jbaudoux-relative_paths_resolve_conflict

« back to all changes in this revision

Viewing changes to anybox/recipe/openerp/server.py

  • Committer: Stefan Rijnhart
  • Date: 2014-02-06 07:41:32 UTC
  • Revision ID: stefan@therp.nl-20140206074132-vaq2642h2raruxcc
[FIX] Use unquoted substitution

Show diffs side-by-side

added added

removed removed

Lines of Context:
478
478
        initialization = os.linesep.join((
479
479
            "",
480
480
            "from anybox.recipe.openerp.runtime.session import Session",
481
 
            "session = Session(%r, %r)" % (
 
481
            "session = Session(%s, %r)" % (
482
482
                    self._relativitize(self.config_path),
483
483
                    self.buildout_dir),
484
484
            "if len(sys.argv) <= 1:",