~yerinalexey/pcrond

aa84c386fce80433f31f92092696b4fec9734562 — Luca Vercelli 2 years ago 3192416
clean code
2 files changed, 2 insertions(+), 2 deletions(-)

M pcrond/sched.py
M test_scheduler.py
M pcrond/sched.py => pcrond/sched.py +1 -1
@@ 14,7 14,7 @@ def std_launch_func(cmd_splitted, stdin=None):
    if stdin is None:
        def f():
            from subprocess import Popen
            p = Popen(cmd_splitted, stdin=None, stdout=None, stderr=None)
            Popen(cmd_splitted, stdin=None, stdout=None, stderr=None)
            # not returning anything here
    else:
        def f():

M test_scheduler.py => test_scheduler.py +1 -1
@@ 255,7 255,7 @@ class SchedulerTests(unittest.TestCase):
        assert os.path.getmtime(os.path.join("tests", "somefile")) >= d.utcfromtimestamp(start_time)

    @unittest.skipUnless(sys.platform.startswith("win"), "requires Windows")
    def test_load_crontab_and_main_loop(self):
    def test_load_crontab_and_main_loop_win(self):
        # TODO
        pass