#2323 kojira: Fix logic detecting directories
Merged 3 years ago by tkopecek. Opened 3 years ago by nphilipp.

file modified
+1 -1
@@ -570,7 +570,7 @@ 

                  symlink = False

                  if stat.S_ISLNK(dirstat.st_mode):

                      symlink = True

-                 elif stat.S_ISDIR(dirstat.st_mode):

+                 elif not stat.S_ISDIR(dirstat.st_mode):

                      self.logger.debug("%s not a directory, skipping", repodir)

                      continue

                  dir_ts = dirstat.st_mtime

thank you
:thumbsup:

Metadata Update from @tkopecek:
- Pull-request tagged with: no_qe

3 years ago

Commit fe59657 fixes this pull-request

Pull-Request has been merged by tkopecek

3 years ago