[arm/master] Change all camel_case() to to_camel_case()

commit 5b3906463c428647f621b65191e3be740b675494 Author: Sathyanarayanan Gunasekaran <gsathya.ceg@gmail.com> Date: Tue Jan 15 12:22:26 2013 +0530 Change all camel_case() to to_camel_case() --- src/cli/menu/actions.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cli/menu/actions.py b/src/cli/menu/actions.py index db2da5a..320373f 100644 --- a/src/cli/menu/actions.py +++ b/src/cli/menu/actions.py @@ -97,7 +97,7 @@ def makeViewMenu(): colorMenu.add(cli.menu.item.SelectionMenuItem("All", colorGroup, None)) for color in uiTools.COLOR_LIST: - colorMenu.add(cli.menu.item.SelectionMenuItem(str_tools.camel_case(color), colorGroup, color)) + colorMenu.add(cli.menu.item.SelectionMenuItem(str_tools.to_camel_case(color), colorGroup, color)) viewMenu.add(colorMenu) @@ -137,7 +137,7 @@ def makeGraphMenu(graphPanel): availableStats.sort() for statKey in ["None"] + availableStats: - label = str_tools.camel_case(statKey, divider = " ") + label = str_tools.to_camel_case(statKey, divider = " ") statKey = None if statKey == "None" else statKey graphMenu.add(cli.menu.item.SelectionMenuItem(label, statGroup, statKey)) @@ -150,7 +150,7 @@ def makeGraphMenu(graphPanel): for i in range(len(cli.graphing.graphPanel.UPDATE_INTERVALS)): label = cli.graphing.graphPanel.UPDATE_INTERVALS[i][0] - label = str_tools.camel_case(label, divider = " ") + label = str_tools.to_camel_case(label, divider = " ") intervalMenu.add(cli.menu.item.SelectionMenuItem(label, intervalGroup, i)) graphMenu.add(intervalMenu)
participants (1)
-
atagar@torproject.org