]> Creatis software - gdcm.git/blobdiff - gdcmPython/demo/PrintHeader.py.in
* Test/ : rename VTK tests to have a best name for the tests
[gdcm.git] / gdcmPython / demo / PrintHeader.py.in
index eb11bce6b42f2e2be53769366d205f20473012f1..6b7ca53052ac251f83907d3753a0d43a36d8750c 100644 (file)
@@ -32,8 +32,7 @@ print "### Display all the elements and their respective values"
 print "## found in the ", fileName, " file."
 print "##############################################################"
 
-header.InitTraversal()
-val=header.GetNextEntry()
+val=header.GetFirstEntry()
 while(val):
        val.Print()
        print ""