From 61d31943ac1424e0be9a8611ebfa4850cf176b21 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 25 Nov 2008 13:53:22 +0000 Subject: [PATCH] Dump Python extension --- src/SALOMEDSImpl/SALOMEDSImpl_Tool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_Tool.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_Tool.cxx index 6ec8e8134..762f2e766 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_Tool.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_Tool.cxx @@ -246,7 +246,7 @@ vector SALOMEDSImpl_Tool::splitStringWithEmpty(const string& theValue, c vector aResult; if(theValue[0] == sep ) aResult.push_back(string()); int pos = theValue.find(sep); - if(pos < 0) { + if(pos < 0 && theValue.size() > 0) { aResult.push_back(theValue); return aResult; } -- 2.39.2