[kernel] r10724 - people/waldi/dkt/lib/dkt/hooks/modules

Bastian Blank waldi at alioth.debian.org
Wed Mar 5 14:09:35 UTC 2008


Author: waldi
Date: Wed Mar  5 14:09:34 2008
New Revision: 10724

Log:
lib/dkt/hooks/modules/backward_symlinks.py: Update.


Modified:
   people/waldi/dkt/lib/dkt/hooks/modules/backward_symlinks.py

Modified: people/waldi/dkt/lib/dkt/hooks/modules/backward_symlinks.py
==============================================================================
--- people/waldi/dkt/lib/dkt/hooks/modules/backward_symlinks.py	(original)
+++ people/waldi/dkt/lib/dkt/hooks/modules/backward_symlinks.py	Wed Mar  5 14:09:34 2008
@@ -58,17 +58,17 @@
             if symlink_create not in (symlink_act, symlink_old):
                 symlink_old = symlink_act
                 symlink_act = symlink_create
-                symlink_old.config.set('backward-compatibility', 'symlink-file', symlink_old_file)
-                symlink_act.config.set('backward-compatibility', 'symlink-file', symlink_act_file)
 
         if symlink_remove is not None:
-            if symlink_remove not in (symlink_act, symlink_old):
+            if symlink_remove in (symlink_act, symlink_old):
                 raise NotImplementedError
 
         ret = []
         if symlink_old is not None:
+            symlink_old.config.set('backward-compatibility', 'symlink-file', symlink_old_file)
             ret.append(symlink_old)
         if symlink_act is not None:
+            symlink_act.config.set('backward-compatibility', 'symlink-file', symlink_act_file)
             ret.append(symlink_act)
         return [ret]
 



More information about the Kernel-svn-changes mailing list