@benkrikler : sorry for the delay and thanks for submitting the PR! In general it is a very nice enhancement for our Python bindings. However, I noticed while testing your PR that if the path contains a component that does not exist following exception is being raised: ``` Traceback (most recent call last): File "test.py", line 6, in <module> print glob.glob( 'root://slc7-test//tmp/dir3/file*' ) File "/home/simonm/xrootd/build/bindings/python/build/lib.linux-x86_64-2.7/XRootD/glob.py", line 59, in glob return xrootd_glob(pathname) File "/home/simonm/xrootd/build/bindings/python/build/lib.linux-x86_64-2.7/XRootD/glob.py", line 80, in xrootd_glob for entry in dirlist.dirlist: AttributeError: 'NoneType' object has no attribute 'dirlist' ``` same happen when I try to glob elements of directory that has not been exported on the XRootD server, e.g. for a server where only `/tmp` is exported try: `glob.glob( 'root://hostname//*' )` Could you improve error handling? Thanks, Michal -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/854#issuecomment-481583748 ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1