Fixed bugs in hive.py
Merge pull request #326 from actsasgeek/fix-hive-module

Fixed bugs in hive.py