aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-07-19 23:29:23 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-07-19 23:29:23 +0300
commit00a87519cce24d130f193cf8d2a540469f38efdc (patch)
tree1138bc4bfb8634dfa5f4fef7fb7621f51fd4cee2 /bin
parentminimize Pylint configuration (diff)
downloadvk-scripts-00a87519cce24d130f193cf8d2a540469f38efdc.tar.gz
vk-scripts-00a87519cce24d130f193cf8d2a540469f38efdc.zip
online_duration.py -> online_sessions.py
Diffstat (limited to 'bin')
-rw-r--r--bin/online_sessions.py (renamed from bin/online_duration.py)4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/online_duration.py b/bin/online_sessions.py
index ac9251b..3732f4c 100644
--- a/bin/online_duration.py
+++ b/bin/online_sessions.py
@@ -413,7 +413,7 @@ def _parse_args(args=sys.argv):
return parser.parse_args(args[1:])
-def write_online_duration(
+def process_online_sessions(
db_fd, db_fmt=DatabaseFormat.CSV,
fd=sys.stdout, fmt=OutputFormat.CSV,
group_by=GroupBy.USER,
@@ -430,7 +430,7 @@ def write_online_duration(
def main(args=sys.argv):
args = _parse_args(args)
- write_online_duration(**vars(args))
+ process_online_sessions(**vars(args))
if __name__ == '__main__':
main()