Skip to content

Commit

Permalink
Merge pull request #88 from xenserver-next/fix-to-retain-directory-tr…
Browse files Browse the repository at this point in the history
…aversal-order-on-python2

Fix to preserve the directory traversal order in Python2
  • Loading branch information
bernhardkaindl authored Feb 23, 2024
2 parents ebbf629 + cc0b8ab commit 6b9aac1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xen-bugtool
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ import time
import traceback
import xml
import zipfile
from collections import OrderedDict
from hashlib import md5 as md5_new
from select import select
from signal import SIGHUP, SIGTERM, SIGUSR1
Expand Down Expand Up @@ -497,7 +498,7 @@ dictionaries with the following keys:
- "filter": An optional filter function to pass the file data through
"""

directory_specifications = {}
directory_specifications = OrderedDict()
dev_null = open('/dev/null', 'r+')


Expand Down

0 comments on commit 6b9aac1

Please sign in to comment.