aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-05-21 19:55:44 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-05-21 19:55:44 +0000
commitbb81a2ab0a0b768d37da899c54bcb0a0fbe32d8a (patch)
treed6225e90667ead1bd84c08f4e3a059be9aea652f
parent56ad8827c9da79c379ca586027db7f28a7c54dc3 (diff)
downloadpaludis-bb81a2ab0a0b768d37da899c54bcb0a0fbe32d8a.tar.gz
paludis-bb81a2ab0a0b768d37da899c54bcb0a0fbe32d8a.tar.xz
(python) Remove semicolons from *.py
-rwxr-xr-xpython/environment_TEST.py2
-rwxr-xr-xpython/mask_reasons_TEST.py4
-rwxr-xr-xpython/package_database_TEST.py2
-rwxr-xr-xpython/repository_TEST.py2
-rwxr-xr-xpython/version_metadata_TEST.py2
-rwxr-xr-xpython/version_spec_TEST.py12
6 files changed, 12 insertions, 12 deletions
diff --git a/python/environment_TEST.py b/python/environment_TEST.py
index e767340..67470b1 100755
--- a/python/environment_TEST.py
+++ b/python/environment_TEST.py
@@ -28,7 +28,7 @@ os.environ["PALUDIS_HOME"] = ph
from paludis import *
import unittest
-Log.instance.log_level = LogLevel.WARNING;
+Log.instance.log_level = LogLevel.WARNING
class TestCase_Environments(unittest.TestCase):
def get_envs(self):
diff --git a/python/mask_reasons_TEST.py b/python/mask_reasons_TEST.py
index 7ae8a50..0dc6dab 100755
--- a/python/mask_reasons_TEST.py
+++ b/python/mask_reasons_TEST.py
@@ -26,10 +26,10 @@ class TestCase_MaskReasons(unittest.TestCase):
MaskReasons()
def test_02_none(self):
- self.assert_(MaskReasons().none);
+ self.assert_(MaskReasons().none)
def test_03_any(self):
- self.assert_(not MaskReasons().any);
+ self.assert_(not MaskReasons().any)
def test_04_add(self):
m1 = MaskReasons()
diff --git a/python/package_database_TEST.py b/python/package_database_TEST.py
index 7cbb868..a5c50ce 100755
--- a/python/package_database_TEST.py
+++ b/python/package_database_TEST.py
@@ -25,7 +25,7 @@ os.environ["PALUDIS_HOME"] = os.path.join(os.getcwd(), "package_database_TEST_di
from paludis import *
import unittest
-Log.instance.log_level = LogLevel.WARNING;
+Log.instance.log_level = LogLevel.WARNING
class TestCase_PackageDatabase(unittest.TestCase):
def get_db(self):
diff --git a/python/repository_TEST.py b/python/repository_TEST.py
index 87be830..5fb7a33 100755
--- a/python/repository_TEST.py
+++ b/python/repository_TEST.py
@@ -26,7 +26,7 @@ os.environ["PALUDIS_HOME"] = os.path.join(os.getcwd(), "repository_TEST_dir/home
from paludis import *
import unittest
-Log.instance.log_level = LogLevel.WARNING;
+Log.instance.log_level = LogLevel.WARNING
class TestCase_Repository(unittest.TestCase):
def get_foo(self):
diff --git a/python/version_metadata_TEST.py b/python/version_metadata_TEST.py
index 5a82151..dd8101f 100755
--- a/python/version_metadata_TEST.py
+++ b/python/version_metadata_TEST.py
@@ -26,7 +26,7 @@ irepo = os.path.join(os.getcwd(), "version_metadata_TEST_dir/installed")
from paludis import *
import unittest
-Log.instance.log_level = LogLevel.WARNING;
+Log.instance.log_level = LogLevel.WARNING
class TestCase_VersionMetadata(unittest.TestCase):
e = NoConfigEnvironment(repo)
diff --git a/python/version_spec_TEST.py b/python/version_spec_TEST.py
index 58c925c..24fa94b 100755
--- a/python/version_spec_TEST.py
+++ b/python/version_spec_TEST.py
@@ -34,13 +34,13 @@ class TestCase_VersionSpec(unittest.TestCase):
v2 = VersionSpec("1.0_beta3")
v3 = VersionSpec("1.0")
- self.assert_(v0 < v1);
- self.assert_(v1 < v2);
- self.assert_(v2 < v3);
+ self.assert_(v0 < v1)
+ self.assert_(v1 < v2)
+ self.assert_(v2 < v3)
- self.assert_(v0 >= v0);
- self.assert_(v1 >= v1);
- self.assert_(v3 >= v2);
+ self.assert_(v0 >= v0)
+ self.assert_(v1 >= v1)
+ self.assert_(v3 >= v2)
def test_04_str(self):
self.assertEqual("0.1_beta2-r3", str(VersionSpec("0.1_beta2-r3")))