Article View: news.software.readers
Article #216795Re: [ANN] XPN 1.0.0 released
From: Peter J Ross
Date: Tue, 12 Feb 2008 15:15
Date: Tue, 12 Feb 2008 15:15
37 lines
2420 bytes
2420 bytes
In news.software.readers on 11 Feb 2008 06:51:39 GMT, Rom
<-@-.invalid> wrote:
> A shortened UA would be nice too. :-)
Here's the DIY method:
====Cut here==============================================
--- xpn.py.old 2008-02-12 14:48:03.000000000 +0000
+++ xpn.py 2008-02-12 14:55:47.000000000 +0000
@@ -48,12 +48,12 @@
from sets import Set as set
try:
- user_system=" ; "+platform.system()
+ user_system=platform.system()
except:
user_system=""
NUMBER="1.0.0"
-VERSION="XPN/%s (Monkey Business%s)" % (NUMBER,user_system)
+VERSION="XPN/%s (%s)" % (NUMBER,user_system)
gettext.NullTranslations()
gettext.install("xpn")
====Cut here==============================================
You can apply these changes with a "patch" command, or edit xpn.py by
hand, changing the two lines marked "-" to the lines marked "+".
It's easy to remove the operating system name too, but that's the kind
of information that can be useful when reporting problems.
--
PJR :-)
<http://pjr.lasnobberia.net/usenet/>
Technical Details
Message-ID:
<slrnfr3dvs.ka6.pjr@pjr.motzarella.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.motzarella.org!motzarella.org!not-for-mailReferences:
<47ada98d$0$17941$4fafbaef@reader1.news.tin.it> <61a9jqF1t24n3U1@mid.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnfr3dvs.ka6.pjr@pjr.motzarella.org> Subject: Re: [ANN] XPN 1.0.0 released Date: Tue, 12 Feb 2008 15:15:08 +0000 From: Peter J Ross <pjr@example.invalid> References: <47ada98d$0$17941$4fafbaef@reader1.news.tin.it> <61a9jqF1t24n3U1@mid.individual.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: none Lines: 37 Reply-To: Peter J Ross <peadar.ruadh@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX1/ywUGPyvuAbp3YUyxwYckRyYCJB0tpFBr7S8Jk97OujZqYrRjOLpupI8VPvykOjHHGejTpCxfXsRQPVslcSY312dHg0Dnj2Dfvk6fLqrUIqE3KtFZ084A39QaS8fcIBW4= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Tue, 12 Feb 2008 15:16:03 +0000 (UTC) X-Auth-Sender: U2FsdGVkX18vAruMOxfGR838vvmyCylk Cancel-Lock: sha1:H/OmAmtW2voa7EU9DkPbQzd+M0g= User-Agent: slrn/pre0.9.9-92/mm (Linux)