kadischi/post_install_scripts 03fstab.py,1.1.1.1,1.2

Darko Ilic (darko) fedora-extras-commits at redhat.com
Thu Oct 13 01:05:58 UTC 2005


Author: darko

Update of /cvs/devel/kadischi/post_install_scripts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15122/post_install_scripts

Modified Files:
	03fstab.py 
Log Message:
A couple of bugs fixed (the problem with dietlibc, and the problem with rsplit() function in 03fstab.py)


Index: 03fstab.py
===================================================================
RCS file: /cvs/devel/kadischi/post_install_scripts/03fstab.py,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- 03fstab.py	21 Aug 2005 17:09:01 -0000	1.1.1.1
+++ 03fstab.py	13 Oct 2005 01:05:55 -0000	1.2
@@ -9,7 +9,7 @@
 list = []
 fstab = open (normalize_path ([sysdir,'/etc/fstab']) , 'r')
 for line in fstab:
-	if (line[0] != '#') and (line != '\n') and (line.find('swap') == -1) and (line.rsplit() [1] != '/'):
+	if (line[0] != '#') and (line != '\n') and (line.find('swap') == -1) and (line.split() [1] != '/'):
 		list.append (line)
 fstab.close()
 




More information about the fedora-extras-commits mailing list