prieto 8 years ago
parent
commit
66712d9a6a
1 changed files with 2 additions and 9 deletions
  1. 2
    9
      lodel/leapi/datahandlers/base_classes.py

+ 2
- 9
lodel/leapi/datahandlers/base_classes.py View File

@@ -419,13 +419,9 @@ class MultipleRef(Reference):
419 419
     # @param emcomponent EmComponent : An EmComponent child class instance
420 420
     # @param fname : the field name
421 421
     # @param datas dict : dict storing fields values
422
-<<<<<<< HEAD
423 422
     # @note Not done in case of delete
424 423
     def make_consistency(self, emcomponent, fname, datas, type_query):
425
-=======
426
-    """
427
-    def make_consistency(self, emcomponent, fname, datas):
428
->>>>>>> 4acd6f8fbeff935cfb6ba072c9fec31ccb3bbb93
424
+
429 425
         dh = emcomponent.field(fname)
430 426
 
431 427
         logger.info('Warning : multiple uid capabilities are broken here')
@@ -451,7 +447,6 @@ class MultipleRef(Reference):
451 447
                         l_uids_ref.append(uid)
452 448
                         obj[0].set_data(target_field, l_uids_ref)
453 449
                         obj[0].update()
454
-<<<<<<< HEAD
455 450
            
456 451
             if type_query == 'update':
457 452
                 query_filters = list()
@@ -466,9 +461,7 @@ class MultipleRef(Reference):
466 461
                             l_uids_ref.remove(uid)
467 462
                             obj.set_data(target_field, l_uids_ref)
468 463
                             obj.update()
469
-=======
470
-    """
471
->>>>>>> 4acd6f8fbeff935cfb6ba072c9fec31ccb3bbb93
464
+
472 465
                 
473 466
 ## @brief Class designed to handle datas access will fieldtypes are constructing datas
474 467
 #@ingroup lodel2_datahandlers

Loading…
Cancel
Save