[vhffs-dev] [svn] commit: r272 - in /trunk/vhffs-robots/src: cvs_fixperms.pl delete_pgsql.pl fix_quota_repository.pl

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Author: gradator
Date: Tue Oct 31 08:13:28 2006
New Revision: 272

Log:
Fixed compilation problems of some robots.


Modified:
    trunk/vhffs-robots/src/cvs_fixperms.pl
    trunk/vhffs-robots/src/delete_pgsql.pl
    trunk/vhffs-robots/src/fix_quota_repository.pl

Modified: trunk/vhffs-robots/src/cvs_fixperms.pl
==============================================================================
--- trunk/vhffs-robots/src/cvs_fixperms.pl (original)
+++ trunk/vhffs-robots/src/cvs_fixperms.pl Tue Oct 31 08:13:28 2006
@@ -39,7 +39,7 @@
 
 
 use Vhffs::Main;
-use Vhffs::Robots qw( Vhffs::Robots::vhffs_log lock unlock );
+use Vhffs::Robots;
 use Vhffs::Functions;
 use Vhffs::Constants;
 use Vhffs::Services::Cvs;

Modified: trunk/vhffs-robots/src/delete_pgsql.pl
==============================================================================
--- trunk/vhffs-robots/src/delete_pgsql.pl (original)
+++ trunk/vhffs-robots/src/delete_pgsql.pl Tue Oct 31 08:13:28 2006
@@ -29,7 +29,7 @@
 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
 # POSSIBILITY OF SUCH DAMAGE.
 
-use Vhffs::Robots qw( Vhffs::Robots::vhffs_log lock unlock );
+use Vhffs::Robots;
 use Vhffs::Services::Postgres;
 use Vhffs::Robots::Postgres;
 use Vhffs::Main;

Modified: trunk/vhffs-robots/src/fix_quota_repository.pl
==============================================================================
--- trunk/vhffs-robots/src/fix_quota_repository.pl (original)
+++ trunk/vhffs-robots/src/fix_quota_repository.pl Tue Oct 31 08:13:28 2006
@@ -107,7 +107,7 @@
 		# give no space for all primary groups of users
 		if( Quota::setqlim($dev, $user->get_gid, 1, 1, 1, 1, 0, 1) )
 		{
-			printf("Cannot update quota for repositories of primary group of user %s, reason %s\n", $user->get_name, Quota::strerr);
+			printf("Cannot update quota for repositories of primary group of user %s, reason %s\n", $user->get_username, Quota::strerr);
 		}
 	}
 }




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/