~umang/quickly/587538-no-changelog

« back to all changes in this revision

Viewing changes to data/templates/ubuntu-application/internal/packaging.py

  • Committer: Didier Roche
  • Date: 2010-06-11 11:13:21 UTC
  • mfrom: (509.1.1 better-dep-detection)
  • Revision ID: didrocks@ubuntu.com-20100611111321-e5enzjb11z0u3w3f
  - fix not all syntax for dependencies supported (LP: #587520) (Frederik
    Elwert)

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
    if not configurationhandler.project_config:
169
169
        configurationhandler.loadConfig()
170
170
    try:
171
 
        for elem in configurationhandler.project_config['dependencies'].split(' '):
172
 
            if elem:
173
 
                command.extend(["--dependency", elem])
 
171
        dependencies = [elem.strip() for elem
 
172
                        in configurationhandler.project_config['dependencies'].split(',')
 
173
                        if elem]
 
174
        for dep in dependencies:
 
175
            command.extend(["--dependency", dep])
174
176
    except KeyError:
175
177
        pass
176
178