Update glance-image-sync.py
Tidy up code
Merge pull request #116 from mattt416/modify_image_sync_tool

Merged automatically by jenkins after successful build test