Modify

Ticket #652 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Missing Python <2.6 support in Proxy.py

Reported by: Torsten Rehn <torsten.rehn@…> Owned by: desai
Priority: minor Milestone: Bcfg2 1.0.0 Release
Component: bcfg2-server Version: 1.0
Keywords: Cc:

Description

  File "/usr/lib/python2.5/site-packages/Bcfg2/Proxy.py", line 63, in __init__
    httplib.HTTPConnection.__init__(self, host, port, strict, timeout)
TypeError: __init__() takes at most 4 arguments (5 given)

The timeout argument was added in Python 2.6

Attachments

bcfg2-py26.diff (1.4 KB) - added by Torsten Rehn <torsten.rehn@…> 12 years ago.
quick and dirty patch to fix the issue

Change History

Changed 12 years ago by Torsten Rehn <torsten.rehn@…>

quick and dirty patch to fix the issue

comment:1 Changed 12 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed

Committed in [61ae42bb686b3abde33f80591992e3adff0f155c] (SVN r5209). Thanks for the patch.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.