projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f166a2
)
remove duplicate infile.close()
author
Klaus Kaempf
<kkaempf@suse.de>
Tue, 11 Apr 2006 14:48:30 +0000
(14:48 +0000)
committer
Klaus Kaempf
<kkaempf@suse.de>
Tue, 11 Apr 2006 14:48:30 +0000
(14:48 +0000)
zypp/target/store/serialize.cc
patch
|
blob
|
history
diff --git
a/zypp/target/store/serialize.cc
b/zypp/target/store/serialize.cc
index
19e2e9d
..
1f800ce
100644
(file)
--- a/
zypp/target/store/serialize.cc
+++ b/
zypp/target/store/serialize.cc
@@
-197,7
+197,7
@@
std::string toXML( const Script::constPtr &obj )
out << " ]]>" << std::endl;
out << " </do>" << std::endl;
- infile.close();
+
if ( obj->undo_available() )
{
out << " <undo>" << std::endl;
@@
-215,7
+215,7
@@
std::string toXML( const Script::constPtr &obj )
out << " ]]>" << std::endl;
out << " </undo>" << std::endl;
- infile.close();
+
}
out << "</script>" << std::endl;
return out.str();