summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Dieter <jdieter@gmail.com>2007-07-11 22:43:14 +0300
committerJonathan Dieter <jdieter@gmail.com>2007-07-11 22:43:14 +0300
commit80c5cb7840ee50436edf31a2847b87ff35441e21 (patch)
tree124e56fd2ef21465333df4b0193cb06f8b7ffa53
parentec53c5c2b2f6ea31b22c47e4ae8f71c4eff2cd37 (diff)
downloadpresto-80c5cb7840ee50436edf31a2847b87ff35441e21.zip
presto-80c5cb7840ee50436edf31a2847b87ff35441e21.tar.gz
presto-80c5cb7840ee50436edf31a2847b87ff35441e21.tar.xz
Fix typo in XML generation
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
-rw-r--r--presto-utils/ChangeLog3
-rwxr-xr-xpresto-utils/genpresto.py2
-rw-r--r--presto-utils/relaxng/presto.rnc2
3 files changed, 5 insertions, 2 deletions
diff --git a/presto-utils/ChangeLog b/presto-utils/ChangeLog
index 8bc2ac3..0b51c78 100644
--- a/presto-utils/ChangeLog
+++ b/presto-utils/ChangeLog
@@ -1,3 +1,6 @@
+* Wed Jul 11 2007 Jonathan Dieter <jdieter@gmail.com> - 0.3.1
+ - Fix typo that generates wrong xml
+
* Wed Jul 11 2007 Jonathan Dieter <jdieter@gmail.com> - 0.3.0
- New XML format by Jeremy Katz
- Added prunedrpm script
diff --git a/presto-utils/genpresto.py b/presto-utils/genpresto.py
index 24330a1..5fab266 100755
--- a/presto-utils/genpresto.py
+++ b/presto-utils/genpresto.py
@@ -272,7 +272,7 @@ def writePrestoData(deltadir, outputdir):
files = getFileList(deltadir, ".drpm")
doc = libxml2.newDoc("1.0")
- root = doc.newChild(None, "prestodeltas", None)
+ root = doc.newChild(None, "prestodelta", None)
deltas = {}
ts = rpm.TransactionSet()
diff --git a/presto-utils/relaxng/presto.rnc b/presto-utils/relaxng/presto.rnc
index 90a4c34..adf4ebb 100644
--- a/presto-utils/relaxng/presto.rnc
+++ b/presto-utils/relaxng/presto.rnc
@@ -1,4 +1,4 @@
-start = element prestodeltas { newpackage+ }
+start = element prestodelta { newpackage+ }
newpackage = element newpackage {
attribute name { text },
attribute epoch { text }?,