[tor-commits] [stem/master] Dropping get_* prefix from most util functions
atagar at torproject.org
atagar at torproject.org
Tue Sep 2 03:55:48 UTC 2014
commit 886b8e564aa9d4795ca915949a1004106efa4be0
Merge: 20d7f9d 611ecdb
Author: Damian Johnson <atagar at torproject.org>
Date: Mon Sep 1 20:50:07 2014 -0700
Dropping get_* prefix from most util functions
Bad habbit from my java days. The get_* prefix for these function names didn't
add anything, they were just bloat. The old function names are aliases for the
new ones so no worries about backward compatability.
docs/change_log.rst | 10 +-
docs/tutorials/east_of_the_sun.rst | 8 +-
docs/tutorials/mirror_mirror_on_the_wall.rst | 2 +-
docs/tutorials/tortoise_and_the_hare.rst | 4 +-
run_tests.py | 4 +-
stem/connection.py | 14 +--
stem/control.py | 9 +-
stem/util/connection.py | 20 +++-
stem/util/proc.py | 53 ++++++----
stem/util/str_tools.py | 48 +++++----
stem/util/system.py | 66 +++++++-----
stem/util/test_tools.py | 25 ++++-
test/integ/util/connection.py | 4 +-
test/integ/util/proc.py | 32 +++---
test/integ/util/system.py | 142 +++++++++++++-------------
test/unit/control/controller.py | 6 +-
test/unit/doctest.py | 8 +-
test/unit/response/protocolinfo.py | 2 +-
test/unit/tutorial.py | 2 +-
test/unit/util/connection.py | 22 ++--
test/unit/util/proc.py | 64 ++++++------
test/unit/util/str_tools.py | 82 +++++++--------
test/unit/util/system.py | 120 +++++++++++-----------
23 files changed, 410 insertions(+), 337 deletions(-)
More information about the tor-commits
mailing list