1626 if procStarted: |
1626 if procStarted: |
1627 finished = process.waitForFinished(30000) |
1627 finished = process.waitForFinished(30000) |
1628 if finished and process.exitCode() == 0: |
1628 if finished and process.exitCode() == 0: |
1629 output = str(process.readAllStandardOutput(), ioEncoding, |
1629 output = str(process.readAllStandardOutput(), ioEncoding, |
1630 'replace') |
1630 'replace') |
1631 djangoVersion = output.splitlines()[0].strip() |
1631 djangoVersion = output.splitlines()[0].strip() |
1632 |
1632 |
1633 return djangoVersion |
1633 return djangoVersion |
1634 |
1634 |
1635 def getDjangoVersion(self): |
1635 def getDjangoVersion(self): |
1636 """ |
1636 """ |