[Python-checkins] r56736 - in doctools/trunk/sphinx: style/default.css web/application.py

georg.brandl python-checkins at python.org
Sat Aug 4 17:55:16 CEST 2007


Author: georg.brandl
Date: Sat Aug 4 17:55:16 2007
New Revision: 56736
Modified:
 doctools/trunk/sphinx/style/default.css
 doctools/trunk/sphinx/web/application.py
Log:
Further style nit and fix a missing import error.
Modified: doctools/trunk/sphinx/style/default.css
==============================================================================
--- doctools/trunk/sphinx/style/default.css	(original)
+++ doctools/trunk/sphinx/style/default.css	Sat Aug 4 17:55:16 2007
@@ -589,8 +589,8 @@
 font-weight: bold;
 }
 
-div.admonition dd {
- margin-bottom: 10px;
+div.admonition dl {
+ margin-bottom: 0;
 }
 
 div.admonition p {
@@ -616,7 +616,6 @@
 margin: 0px 10px 5px 0px;
 font-weight: bold;
 display: inline;
- font-size: 1em;
 }
 
 table.docutils {
Modified: doctools/trunk/sphinx/web/application.py
==============================================================================
--- doctools/trunk/sphinx/web/application.py	(original)
+++ doctools/trunk/sphinx/web/application.py	Sat Aug 4 17:55:16 2007
@@ -768,7 +768,7 @@
 pw2 = getpass.getpass('Enter password again: ')
 if pw1 != pw2:
 print 'Error: Passwords don\'t match.'
- sys.exit(1)
+ raise SystemExit(1)
 app.userdb.set_password('admin', pw1)
 app.userdb.privileges['admin'].add('master')
 app.userdb.save()


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /