[tor-commits] [arm/master] Update __init__.py manifests

atagar at torproject.org atagar at torproject.org
Mon Jun 23 15:00:33 UTC 2014


commit 636817003ca6962df7ec69e787fda5bdeaffd689
Author: Damian Johnson <atagar at torproject.org>
Date:   Sat Jun 21 13:07:48 2014 -0700

    Update __init__.py manifests
    
    Updating our __all__ entries to reflect the current contents. Also changing
    them to be alphabetical and have each entry on its own line.
---
 arm/__init__.py               |   13 +++++++++++--
 arm/connections/__init__.py   |   11 +++++++++--
 arm/graphing/__init__.py      |    7 ++++++-
 arm/menu/__init__.py          |    6 +++++-
 test/__init__.py              |    7 +++++++
 test/util/__init__.py         |    5 +++++
 test/util/tracker/__init__.py |   10 ++++++++++
 7 files changed, 53 insertions(+), 6 deletions(-)

diff --git a/arm/__init__.py b/arm/__init__.py
index 25e322f..b81c0fb 100644
--- a/arm/__init__.py
+++ b/arm/__init__.py
@@ -1,8 +1,17 @@
 """
-Scripts involved in validating user input, system state, and initializing arm.
+Tor curses monitoring application.
 """
 
-__all__ = ["starter", "arguments", "prereq", "version", "config_panel", "controller", "header_panel", "log_panel", "popups", "torrc_panel"]
+__all__ = [
+  'arguments',
+  'config_panel',
+  'controller',
+  'header_panel',
+  'log_panel',
+  'popups',
+  'starter',
+  'torrc_panel',
+]
 
 __version__ = '1.4.6_dev'
 __release_date__ = 'April 28, 2011'
diff --git a/arm/connections/__init__.py b/arm/connections/__init__.py
index bf4cf89..447adf6 100644
--- a/arm/connections/__init__.py
+++ b/arm/connections/__init__.py
@@ -1,5 +1,12 @@
 """
-Connection panel related resources.
+Resources related to our connection panel.
 """
 
-__all__ = ["circ_entry", "conn_entry", "conn_panel", "count_popup", "descriptor_popup", "entries"]
+__all__ = [
+  'circ_entry',
+  'conn_entry',
+  'conn_panel',
+  'count_popup',
+  'descriptor_popup',
+  'entries',
+]
diff --git a/arm/graphing/__init__.py b/arm/graphing/__init__.py
index aebef5d..74f7e07 100644
--- a/arm/graphing/__init__.py
+++ b/arm/graphing/__init__.py
@@ -2,4 +2,9 @@
 Graphing panel resources.
 """
 
-__all__ = ["graph_panel", "bandwidth_stats", "conn_stats", "resource_stats"]
+__all__ = [
+  'bandwidth_stats',
+  'conn_stats',
+  'graph_panel',
+  'resource_stats',
+]
diff --git a/arm/menu/__init__.py b/arm/menu/__init__.py
index 4cc12de..54644fe 100644
--- a/arm/menu/__init__.py
+++ b/arm/menu/__init__.py
@@ -2,4 +2,8 @@
 Resources for displaying the menu.
 """
 
-__all__ = ["actions", "item", "menu"]
+__all__ = [
+  'actions',
+  'item',
+  'menu',
+]
diff --git a/test/__init__.py b/test/__init__.py
index e69de29..20963bc 100644
--- a/test/__init__.py
+++ b/test/__init__.py
@@ -0,0 +1,7 @@
+"""
+Unit tests for arm.
+"""
+
+__all__ = [
+  'arguments',
+]
diff --git a/test/util/__init__.py b/test/util/__init__.py
index e69de29..3795845 100644
--- a/test/util/__init__.py
+++ b/test/util/__init__.py
@@ -0,0 +1,5 @@
+"""
+Unit tests for arm's utilities.
+"""
+
+__all__ = []
diff --git a/test/util/tracker/__init__.py b/test/util/tracker/__init__.py
index e69de29..1d7d5de 100644
--- a/test/util/tracker/__init__.py
+++ b/test/util/tracker/__init__.py
@@ -0,0 +1,10 @@
+"""
+Unit tests for arm's tracker utilities.
+"""
+
+__all__ = [
+  'connection_tracker',
+  'daemon',
+  'port_usage_tracker',
+  'resource_tracker',
+]





More information about the tor-commits mailing list