summaryrefslogtreecommitdiff
path: root/src/frontEnd/Workspace.py
diff options
context:
space:
mode:
authorFahim2016-03-01 17:24:00 +0530
committerFahim2016-03-01 17:24:00 +0530
commit9347ac2e7c7d7c0693cd85327297b519196dbb90 (patch)
treee296f8b423f063bef60cc6115f6d6b3adfe5e3c8 /src/frontEnd/Workspace.py
parent44d403c92bf62a8885e2a2cddf2bd4019c5532b9 (diff)
downloadeSim-9347ac2e7c7d7c0693cd85327297b519196dbb90.tar.gz
eSim-9347ac2e7c7d7c0693cd85327297b519196dbb90.tar.bz2
eSim-9347ac2e7c7d7c0693cd85327297b519196dbb90.zip
Remove all unwanted print command
Diffstat (limited to 'src/frontEnd/Workspace.py')
-rw-r--r--src/frontEnd/Workspace.py14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/frontEnd/Workspace.py b/src/frontEnd/Workspace.py
index 3e3cf0de..7cefa6c6 100644
--- a/src/frontEnd/Workspace.py
+++ b/src/frontEnd/Workspace.py
@@ -75,7 +75,7 @@ class Workspace(QtGui.QWidget):
def defaultWorkspace(self):
- print "Default location selected"
+ print "Default workspace selected : "+self.obj_appconfig.default_workspace["workspace"]
self.imp_var=1
self.obj_appconfig.print_info('Default workspace selected : ' + self.obj_appconfig.default_workspace["workspace"])
self.close()
@@ -89,8 +89,6 @@ class Workspace(QtGui.QWidget):
def close(self, *args, **kwargs):
self.window_open_close=1
self.close_var=1
- #with var_cond:
- # var_cond.notify()
return QtGui.QWidget.close(self, *args, **kwargs)
@@ -98,17 +96,14 @@ class Workspace(QtGui.QWidget):
global var_appView
var_appView=appView
-
-
+
def createWorkspace(self):
- print "Create workspace is called"
+ print "Function : Create workspace"
self.create_workspace = str(self.workspace_loc.text())
self.obj_appconfig.print_info('Workspace : ' + self.create_workspace)
#Checking if Workspace already exist or not
if os.path.isdir(self.create_workspace):
- print "Already present"
self.obj_appconfig.default_workspace["workspace"] = self.create_workspace
-
else:
os.mkdir(self.create_workspace)
self.obj_appconfig.default_workspace["workspace"] = self.create_workspace
@@ -120,8 +115,7 @@ class Workspace(QtGui.QWidget):
def browseLocation(self):
- print "Browse Location called"
+ print "Function : Browse Location"
self.workspace_directory = QtGui.QFileDialog.getExistingDirectory(self, "Browse Location",os.path.expanduser("~"))
- print "Path file :", self.workspace_directory
self.workspace_loc.setText(self.workspace_directory)
\ No newline at end of file