update regarding a feature request from andyroyalbattle@yahoo.it

This commit is contained in:
Miroslav Stampar 2011-03-18 16:35:30 +00:00
parent 00b9d85ffc
commit 36233fac42
2 changed files with 11 additions and 0 deletions

View File

@ -326,6 +326,10 @@ Antonio Riva <antonio.riva@gmail.com>
Ethan Robish <ethan.robish@gmail.com> Ethan Robish <ethan.robish@gmail.com>
for reporting a bug for reporting a bug
Andrea Rossi <andyroyalbattle@yahoo.it>
for reporting a minor bug
for suggesting a feature
Richard Safran <allapplyhere@yahoo.com> Richard Safran <allapplyhere@yahoo.com>
for donating the sqlmap.org domain control for donating the sqlmap.org domain control

View File

@ -25,6 +25,7 @@ from lib.core.data import conf
from lib.core.data import logger from lib.core.data import logger
from lib.core.data import paths from lib.core.data import paths
from lib.core.exception import sqlmapFilePathException from lib.core.exception import sqlmapFilePathException
from lib.core.settings import IS_WIN
from lib.core.settings import UNICODE_ENCODING from lib.core.settings import UNICODE_ENCODING
from lib.core.subprocessng import pollProcess from lib.core.subprocessng import pollProcess
from lib.request.connect import Connect as Request from lib.request.connect import Connect as Request
@ -83,6 +84,12 @@ def update():
errMsg = getUnicode(svnStderr, system=True).strip() errMsg = getUnicode(svnStderr, system=True).strip()
logger.error(errMsg) logger.error(errMsg)
if IS_WIN:
infoMsg = "for Windows platform it's recommended "
infoMsg += "to use a TortoiseSVN GUI client for updating "
infoMsg += "purposes (http://tortoisesvn.net/)"
logger.info(infoMsg)
elif svnStdout: elif svnStdout:
revision = re.search("revision\s+([\d]+)", svnStdout, re.I) revision = re.search("revision\s+([\d]+)", svnStdout, re.I)