Skip to content

Commit 7221c73

Browse files
committed
fTools: remove lines that cause error with non-ascii path
1 parent eeb2cb4 commit 7221c73

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

python/plugins/fTools/tools/doDefineProj.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,10 @@ def accept(self):
118118
inPath = provider.dataSourceUri()
119119
p = re.compile("\|.*")
120120
inPath = p.sub("", inPath)
121-
print "PATH", inPath
122121
self.progressBar.setValue(40)
123122
if inPath.endswith(".shp"):
124123
inPath = inPath[:-4]
125124
self.progressBar.setValue(55)
126-
print "PATH2", inPath
127125
if not srsDefine.isValid():
128126
QMessageBox.information(self, self.tr("Define current projection"), self.tr("Output spatial reference system is not valid"))
129127
else:
@@ -147,7 +145,6 @@ def accept(self):
147145
self.progressBar.setValue(95)
148146
vLayer.setCrs(srsDefine)
149147
self.progressBar.setValue(100)
150-
print "PATH3", inPath
151148
QMessageBox.information(self, self.tr("Define current projection"),
152149
self.tr("Defined Projection For:\n%s.shp") % (inPath) )
153150
self.progressBar.setValue(0)

0 commit comments

Comments
 (0)