diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-10-23 18:54:11 +0200 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-10-24 15:01:24 +0200 |
commit | 8d54d4fcd456b3d57c86d35a3dc2544d21c93ef4 (patch) | |
tree | 8f5a3212a80da3f84c8ed8b409ad7bff0a096107 /plugins/grub/grub.py | |
parent | 2a433d8bbe31ff16156f5d2864f0435e9fc440ed (diff) | |
download | firstaidkit-8d54d4fcd456b3d57c86d35a3dc2544d21c93ef4.tar.gz firstaidkit-8d54d4fcd456b3d57c86d35a3dc2544d21c93ef4.tar.xz firstaidkit-8d54d4fcd456b3d57c86d35a3dc2544d21c93ef4.zip |
Create a new argument (reverting) for the BackupPersistent constructor.
It is necessary to differentiate between calling the BackupPersistent class
for backup purposes or for reverting purposes.
Also the grub revert function and the firstaidkitrevert file changed to
address the new changes.
Diffstat (limited to 'plugins/grub/grub.py')
-rw-r--r-- | plugins/grub/grub.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/grub/grub.py b/plugins/grub/grub.py index 3a4f247..8cc6eec 100644 --- a/plugins/grub/grub.py +++ b/plugins/grub/grub.py @@ -52,7 +52,7 @@ class Grub(Plugin): origin = Grub) try: fd = os.open(devpath, os.O_WRONLY) - first446btemp = os.write(fd, 446) + os.write(fd, first446bytes) os.close(fd) except IOError, ie: report.debug("There was an error writing to %s, It is very " \ |