Skip to content

Commit

Permalink
Remove trailing whitespaces in every non-XEP file.
Browse files Browse the repository at this point in the history
  • Loading branch information
linkmauve authored and SamWhited committed Feb 17, 2017
1 parent 3c5f20a commit fe9d396
Show file tree
Hide file tree
Showing 11 changed files with 120 additions and 121 deletions.
4 changes: 2 additions & 2 deletions announce.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def getText(nodelist):
# get the seconds in the Unix era
now = int(time.time())

# READ IN ARGS:
# READ IN ARGS:
#
# 1. XEP number

Expand Down Expand Up @@ -167,7 +167,7 @@ def getText(nodelist):
thesubject = 'UPDATED: XEP-'
thesubject = thesubject + xepnum + ' (' + title + ')'

versionline = 'Version ' + version + ' of XEP-' + xepnum + ' (' + title + ') has been released.'
versionline = 'Version ' + version + ' of XEP-' + xepnum + ' (' + title + ') has been released.'
abstractline = 'Abstract: ' + abstract
changelogline = 'Changelog: ' + remark + ' (' + initials + ')'
diffsline = 'Diff: ' + diffs
Expand Down
2 changes: 1 addition & 1 deletion archive.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
# archive an old version of a XEP (before publishing new version)
# usage: ./archive.sh xepnum version
# usage: ./archive.sh xepnum version

## LICENSE ##
#
Expand Down
6 changes: 3 additions & 3 deletions dbupdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Last Modified: 2006-12-07
# Author: Peter Saint-Andre ([email protected])
# License: public domain
# HowTo: ./dbupdate.py dbuser dbpw xepnum
# HowTo: ./dbupdate.py dbuser dbpw xepnum

## LICENSE ##
#
Expand Down Expand Up @@ -54,7 +54,7 @@ def getText(nodelist):
# get the seconds in the Unix era
now = int(time.time())

# READ IN ARGS:
# READ IN ARGS:
#
# 1. XEP number
# 2. database user
Expand Down Expand Up @@ -139,7 +139,7 @@ def getText(nodelist):
cursor.execute(theStatement)
else:
theStatement = "UPDATE jeps SET name='" + title + "', type='" + xeptype + "', status='" + xepstatus + "', notes='" + theNotes + "', version='" + str(version) + "', last_modified='" + str(now) + "', abstract='" + abstract + "', changelog='" + theLog + "' WHERE number='" + str(xepnum) + "';"
cursor.execute(theStatement)
cursor.execute(theStatement)
result = cursor.fetchall()

# END
Expand Down
2 changes: 1 addition & 1 deletion deferred.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def getText(nodelist):
# get the seconds in the Unix era
now = int(time.time())

# READ IN ARGS:
# READ IN ARGS:
#
# 1. XEP number

Expand Down
Loading

0 comments on commit fe9d396

Please sign in to comment.