From 94ab81c1a25d8785c3330dd6d5f839080a7ae031 Mon Sep 17 00:00:00 2001 From: Grant Thomas Date: Tue, 8 May 2012 06:57:42 -0700 Subject: [PATCH 1/3] Now it is Python! --- conf/python/templates/VersionChecker.st | 62 ++++++++++++------------- 1 file changed, 29 insertions(+), 33 deletions(-) diff --git a/conf/python/templates/VersionChecker.st b/conf/python/templates/VersionChecker.st index 1041722e48c..177aab45c48 100644 --- a/conf/python/templates/VersionChecker.st +++ b/conf/python/templates/VersionChecker.st @@ -1,36 +1,32 @@ - \ No newline at end of file From 6db5c150377222236b2e963b9934e79a0c713c9d Mon Sep 17 00:00:00 2001 From: Grant Thomas Date: Tue, 8 May 2012 07:01:48 -0700 Subject: [PATCH 2/3] Ensure correct indentation. --- conf/python/templates/VersionChecker.st | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/conf/python/templates/VersionChecker.st b/conf/python/templates/VersionChecker.st index 177aab45c48..91f8a3b7a6a 100644 --- a/conf/python/templates/VersionChecker.st +++ b/conf/python/templates/VersionChecker.st @@ -15,18 +15,17 @@ """ + class VersionChecker(object): """ - Maintains the compatible server version against which the drive is writtena + Maintains the compatible server version against which the drive is writtena NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ _compatible_version = "$apiVersion$" - @classmethod + @classmethod def getCompatibleVersion(cls): - """ - Gets the version against which the library code was written - """ - return cls._compatible_version - - + """ + Gets the version against which the library code was written + """ + return cls._compatible_version From 404c5ab8c392584c378805ca7305e39e3d77b525 Mon Sep 17 00:00:00 2001 From: Grant Thomas Date: Tue, 8 May 2012 07:05:12 -0700 Subject: [PATCH 3/3] Really fix indentation. Github browser-editor fail\! --- conf/python/templates/VersionChecker.st | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/conf/python/templates/VersionChecker.st b/conf/python/templates/VersionChecker.st index 91f8a3b7a6a..46d3c23c68e 100644 --- a/conf/python/templates/VersionChecker.st +++ b/conf/python/templates/VersionChecker.st @@ -18,14 +18,14 @@ class VersionChecker(object): """ - Maintains the compatible server version against which the drive is writtena + Maintains the compatible server version against which the drive is writtena NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ _compatible_version = "$apiVersion$" - @classmethod - def getCompatibleVersion(cls): - """ - Gets the version against which the library code was written - """ - return cls._compatible_version + @classmethod + def getCompatibleVersion(cls): + """ + Gets the version against which the library code was written + """ + return cls._compatible_version \ No newline at end of file