Изменена нумерация версий

git-svn-id: http://svn.calculate.ru/calculate2/calculate-lib/trunk@956 c91db197-33c1-4113-bf15-f8a5c547ca64
develop
asamoukin 15 years ago
parent 757224f6e3
commit 04ed7cdfe1

@ -2292,7 +2292,7 @@ class profile(_file, _terms,xmlShare):
FD = open(fileName)
replace = FD.read().strip()
FD.close
if not replace and terms[0] in ["ver","num"]:
if not replace and len(terms) == 2 and terms[0] in ["ver","num"]:
replace = "0"
textProfileTmp = textProfileTmp[:resS.start()] + replace +\
textProfileTmp[resS.end():]

@ -13,7 +13,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
Version = "calculate-server 2.0.9"
Version = "calculate-server 2.0.10"
import sys
sys.path.append('/var/tmp/calculate2/calculate-lib/trunk/pym')

@ -23,7 +23,7 @@ from distutils.core import setup
setup(
name = 'calculate-lib',
version = "2.0.9",
version = "2.0.10",
description = "The library for Calculate 2",
author = "Calculate Pack",
author_email = "support@calculate.ru",

Loading…
Cancel
Save