Skip to content

Commit b7d7076

Browse files
committed
Merge pull request #695 from minorua/defproj
fTools: remove lines that cause error with non-ascii path
2 parents c3143e6 + 7221c73 commit b7d7076

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

python/plugins/fTools/tools/doDefineProj.py

-3
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)