From d95624ed79ecc06aebe2c24ab82ee84218634446 Mon Sep 17 00:00:00 2001 From: Lance Bragstad Date: Sat, 4 Oct 2014 03:29:36 +0000 Subject: [PATCH] Rename files accordingly The jobs.py module didn't really make sense named the way it was since the jobs are to be handled by Jenkins. This change renames files accordingly. Change-Id: Iaf54202dd0369e41686d134b4b723d4bccef8e54 --- arbiter/{jobs.py => convert.py} | 4 ++-- arbiter/{util.py => utils.py} | 0 tox.ini | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename arbiter/{jobs.py => convert.py} (97%) rename arbiter/{util.py => utils.py} (100%) diff --git a/arbiter/jobs.py b/arbiter/convert.py similarity index 97% rename from arbiter/jobs.py rename to arbiter/convert.py index 1e2fec3..0c27359 100644 --- a/arbiter/jobs.py +++ b/arbiter/convert.py @@ -19,7 +19,7 @@ import argparse import logging import os -from arbiter import util +from arbiter import utils # logging settings @@ -81,7 +81,7 @@ def main(): " running with -f to remove old iCal files.") # Convert yaml to iCal - util.convert_yaml_to_ical(yaml_dir, ical_dir) + utils.convert_yaml_to_ical(yaml_dir, ical_dir) if __name__ == '__main__': diff --git a/arbiter/util.py b/arbiter/utils.py similarity index 100% rename from arbiter/util.py rename to arbiter/utils.py diff --git a/tox.ini b/tox.ini index 01dee04..4938438 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,7 @@ commands = {posargs} [testenv:mkical] commands = mkdir -p ical - python arbiter/jobs.py -i ./ical -c + python arbiter/convert.py -i ./ical -c [flake8] show-source = True