Skip to content

Commit

Permalink
Patch a Python 2.6 bug...
Browse files Browse the repository at this point in the history
  • Loading branch information
icook committed Mar 18, 2014
1 parent 8a18d55 commit 240eb6b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ppagent will now start with your computer automatically.

Windows:
**************************
#. `Download latest exe <https://github.com/icook/ppagent/releases/download/v0.3.1/ppagent.exe>`_.
#. `Download latest exe <https://github.com/icook/ppagent/releases/download/v0.3.2/ppagent.exe>`_.
#. Run the binary when connected to stratum.simpledoge.com and status will be automatically reported.

To make ppagent start on boot, `see this post <http://superuser.com/questions/63326/enable-exe-to-run-at-startup>`_.
Expand Down Expand Up @@ -142,7 +142,7 @@ Ubuntu:

.. code-block:: bash
sudo pip install --upgrade --ignore-installed ppagent==0.3.1
sudo pip install --upgrade --ignore-installed ppagent==0.3.2
sudo service ppagent restart
# now confirm that the right version is installed
ppagent --version
Expand All @@ -151,15 +151,15 @@ Debian (for BAMT or SMOS):

.. code-block:: bash
sudo pip install --upgrade --ignore-installed ppagent==0.3.1
sudo pip install --upgrade --ignore-installed ppagent==0.3.2
sudo /etc/init.d/ppagent stop
sudo /etc/init.d/ppagent start
# now confirm that the right version is installed
ppagent --version
Windows:

Simply `Download latest exe <https://github.com/icook/ppagent/releases/download/v0.3.1/ppagent.exe>`_ and replace your old one.
Simply `Download latest exe <https://github.com/icook/ppagent/releases/download/v0.3.2/ppagent.exe>`_ and replace your old one.

Troubleshooting Upgrade
***************************
Expand Down
4 changes: 2 additions & 2 deletions ppagent/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from string import Template
from os.path import expanduser

version = '0.3.1'
version = '0.3.2'

logger = logging.getLogger("ppagent")
config_home = expanduser("~/.ppagent/")
Expand Down Expand Up @@ -361,7 +361,7 @@ def transmit(self):
# recieve, just wait till next loop to send
ret = self.recieve()
if ret is None or ret.get('error', True) is not None:
logger.warn("Recieved failure result '{}' from the server!"
logger.warn("Recieved failure result '{0}' from the server!"
.format(ret))
break
farthest = i + 1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
requires.append('argparse')

setup(name='ppagent',
version='0.3.1',
version='0.3.2',
description='A statistics collection agent for powerpool mining server',
author='Isaac Cook',
long_description=README,
Expand Down

0 comments on commit 240eb6b

Please sign in to comment.