Procházet zdrojové kódy

Merge branch 'miracle2k/master'

Ask Solem před 15 roky
rodič
revize
d10fa2ee28
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      celery/bin/celeryd.py

+ 2 - 2
celery/bin/celeryd.py

@@ -124,10 +124,10 @@ OPTION_LIST = (
             action="store_true", dest="detach",
             help="Run in the background as a daemon."),
     optparse.make_option('-u', '--uid', default=None,
-            action="store", dest="uid",
+            action="store", dest="uid", type="int",
             help="User-id to run celeryd as when in daemon mode."),
     optparse.make_option('-g', '--gid', default=None,
-            action="store", dest="gid",
+            action="store", dest="gid", type="int",
             help="Group-id to run celeryd as when in daemon mode."),
     optparse.make_option('--umask', default=0,
             action="store", type="int", dest="umask",