X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=zypp%2Ftarget%2Frpm%2FRpmException.cc;h=c17ba2069e4c900971728b6c42755c5b53bb41a6;hb=d03c8619a33db733cf8090faf37aea4887116c42;hp=90a29be052f05dcbf95e49883e9feba8954291a5;hpb=85a38b2c6bd7705a9454ac387522a027a343e722;p=platform%2Fupstream%2Flibzypp.git diff --git a/zypp/target/rpm/RpmException.cc b/zypp/target/rpm/RpmException.cc index 90a29be..c17ba20 100644 --- a/zypp/target/rpm/RpmException.cc +++ b/zypp/target/rpm/RpmException.cc @@ -15,8 +15,6 @@ #include "zypp/target/rpm/RpmException.h" -using namespace std; - /////////////////////////////////////////////////////////////////// namespace zypp { ///////////////////////////////////////////////////////////////// @@ -30,51 +28,51 @@ namespace rpm std::ostream & RpmInvalidRootException::dumpOn( std::ostream & str ) const { return str << "Illegal root " << _root - << " or dbPath " << _dbpath << endl; + << " or dbPath " << _dbpath; } std::ostream & RpmAccessBlockedException::dumpOn( std::ostream & str ) const { return str << "Access is blocked: Root: " << _root - << " dbPath: " << _dbpath << endl; + << " dbPath: " << _dbpath; } std::ostream & RpmSubprocessException::dumpOn( std::ostream & str ) const { - return str << "Subprocess failed. Error: " << _errmsg << endl; + return str << "Subprocess failed. Error: " << _errmsg; } std::ostream & RpmInitException::dumpOn( std::ostream & str) const { return str << "Failed to initialize database: Root: " << _root - << " dbPath: " << _dbpath << endl; + << " dbPath: " << _dbpath; } std::ostream & RpmDbOpenException::dumpOn( std::ostream & str) const { return str << "Failed to open database: Root: " << _root - << " dbPath: " << _dbpath << endl; + << " dbPath: " << _dbpath; } std::ostream & RpmDbAlreadyOpenException::dumpOn( std::ostream & str) const { return str << "Can't switch to " << _new_root << " " << _new_dbpath - << " while accessing " << _old_root << " " << _old_dbpath << endl; + << " while accessing " << _old_root << " " << _old_dbpath; } std::ostream & RpmDbNotOpenException::dumpOn( std::ostream & str) const { - return str << "RPM database not open" << endl; + return str << "RPM database not open"; } std::ostream & RpmDbConvertException::dumpOn( std::ostream & str) const { - return str << "RPM database conversion failed" << endl; + return str << "RPM database conversion failed"; } std::ostream & RpmNullDatabaseException::dumpOn( std::ostream & str) const { - return str << "NULL rpmV4 database passed as argument!" << endl; + return str << "NULL rpmV4 database passed as argument!"; } /////////////////////////////////////////////////////////////////