diff --git a/command-stubs/losetup-stub b/command-stubs/losetup-stub
index bf186a1..af9bd51 100755
--- a/command-stubs/losetup-stub
+++ b/command-stubs/losetup-stub
@@ -2,7 +2,7 @@
#
# losetup-stub
#
-# Copyright (C) 2007 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2007, 2011 Red Hat, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,39 +18,53 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+from optparse import OptionParser
import os
import sys