[Pkg-privacy-commits] [onionshare] 155/256: Capitalize comments
Ulrike Uhlig
ulrike at moszumanska.debian.org
Fri May 26 12:53:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
ulrike pushed a commit to branch master
in repository onionshare.
commit 1519f3693d84c944911c91fe5f0a96438a10d5c1
Author: Micah Lee <micah at micahflee.com>
Date: Mon Apr 17 19:38:42 2017 -0700
Capitalize comments
---
onionshare_gui/__init__.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/onionshare_gui/__init__.py b/onionshare_gui/__init__.py
index 7e8cc70..fec2f10 100644
--- a/onionshare_gui/__init__.py
+++ b/onionshare_gui/__init__.py
@@ -53,11 +53,11 @@ def main():
strings.load_strings(helpers)
print(strings._('version_string').format(helpers.get_version()))
- # start the Qt app
+ # Start the Qt app
global qtapp
qtapp = Application()
- # parse arguments
+ # Parse arguments
parser = argparse.ArgumentParser()
parser.add_argument('--local-only', action='store_true', dest='local_only', help=strings._("help_local_only"))
parser.add_argument('--stay-open', action='store_true', dest='stay_open', help=strings._("help_stay_open"))
@@ -74,7 +74,7 @@ def main():
stay_open = bool(args.stay_open)
debug = bool(args.debug)
- # validation
+ # Validation
if filenames:
valid = True
for filename in filenames:
@@ -84,19 +84,19 @@ def main():
if not valid:
sys.exit()
- # start the onionshare app
+ # Start the OnionShare app
web.set_stay_open(stay_open)
app = OnionShare(debug, local_only, stay_open)
- # clean up when app quits
+ # Clean up when app quits
def shutdown():
app.cleanup()
qtapp.aboutToQuit.connect(shutdown)
- # launch the gui
+ # Launch the gui
gui = OnionShareGui(qtapp, app, filenames)
- # all done
+ # All done
sys.exit(qtapp.exec_())
if __name__ == '__main__':
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionshare.git
More information about the Pkg-privacy-commits
mailing list