Drop support of Python 2.6

review2691002
This commit is contained in:
Cédric Krier committed 2014-01-31 00:03:55 +01:00
1 parent 6dbddb52a4
commit cec2b682a2
3 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ Installing trytond_production
Prerequisites
-------------
* Python 2.6 or later (http://www.python.org/)
* Python 2.7 or later (http://www.python.org/)
* trytond (http://www.tryton.org/)
* trytond_product (http://www.tryton.org/)
* trytond_company (http://www.tryton.org/)
-1
View File
@@ -67,7 +67,6 @@ setup(name='trytond_production',
'Natural Language :: Slovenian',
'Natural Language :: Spanish',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Office/Business',
],
+2 -2
View File
@@ -168,8 +168,8 @@ Make a production::
>>> output, = production.outputs
>>> output.quantity == 2
True
>>> production.cost == Decimal('25')
True
>>> production.cost
Decimal('25.0')
>>> production.save()
>>> Production.wait([production.id], config.context)
>>> production.state