diff options
author | nilshah98 | 2019-03-31 04:28:27 +0530 |
---|---|---|
committer | nilshah98 | 2019-03-31 04:28:27 +0530 |
commit | 30c607ef581345958f0f9bdb5dd5603a1dd774c8 (patch) | |
tree | 106bc0624d2f0900a57e99cc125ac5df6e01db20 /src/projManagement/Validation.py | |
parent | 8b986efb1c9216e284f6cc27a8f44d09e5c5cc59 (diff) | |
download | eSim-30c607ef581345958f0f9bdb5dd5603a1dd774c8.tar.gz eSim-30c607ef581345958f0f9bdb5dd5603a1dd774c8.tar.bz2 eSim-30c607ef581345958f0f9bdb5dd5603a1dd774c8.zip |
port to python3
Diffstat (limited to 'src/projManagement/Validation.py')
-rw-r--r-- | src/projManagement/Validation.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/projManagement/Validation.py b/src/projManagement/Validation.py index a582cab5..b401e5e1 100644 --- a/src/projManagement/Validation.py +++ b/src/projManagement/Validation.py @@ -34,7 +34,7 @@ class Validation: """ This function validate Open Project Information. """ - print "Function: Validating Open Project Information" + print("Function: Validating Open Project Information") projName = os.path.basename(str(projDir)) lookProj = os.path.join(str(projDir),projName+".proj") #Check existence of project @@ -49,7 +49,7 @@ class Validation: """ This Project Validate New Project Information """ - print "Function: Validating New Project Information" + print("Function: Validating New Project Information") #Checking existence of project with same name if os.path.exists(projDir): @@ -65,7 +65,7 @@ class Validation: """ This function validate if Kicad components are present """ - print "FUnction : Validating for Kicad components" + print("FUnction : Validating for Kicad components") if projDir == None: return False else: @@ -104,9 +104,9 @@ class Validation: #The number of ports is specified in this line #eg. '.subckt ua741 6 7 3' has 3 ports (6, 7 and 3). numPorts = len(words) - 2 - print "Looksub : ",lookSub - print "Given Number of ports : ",givenNum - print "Actual Number of ports :",numPorts + print("Looksub : ",lookSub) + print("Given Number of ports : ",givenNum) + print("Actual Number of ports :",numPorts) if numPorts != givenNum: return "PORT" else: |