Changeset 2303ca1 for fedd


Ignore:
Timestamp:
May 17, 2012 1:27:45 PM (13 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, master
Children:
5ae9d94
Parents:
bc9ab05
Message:

Properly parse userconf command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/access.py

    rbc9ab05 r2303ca1  
    1010import logging
    1111import subprocess
     12import shlex
    1213
    1314from threading import *
     
    348349
    349350        cmd = "%s %s" % (self.userconfcmd, project)
    350         conf = subprocess.call(cmd.split(" "),
     351        conf = subprocess.call(shlex.split(cmd),
    351352                stdout=cf, stderr=dev_null, close_fds=True)
    352353
Note: See TracChangeset for help on using the changeset viewer.