def create_file(self, name, inode=None):
        check_filename(name)

        if inode is None:
            log.info('Creating file %r in %r', name, self.path)
            inode = self.storage.create_inode()
        else:
            assert(inode.storage is self.storage)
            log.info('Linking file %r in %r to inode %r',
                     name, self.path, inode.name)
            inode['nlink'] += 1

        with self.ls_blob as b:
            b.data += (quote(name), inode.name) % "%s %s\n"

        self.storage._autocommit()

        return self[name]
dataset/ETHPy150Open mgax/SpaghettiFS/spaghettifs/storage.py/StorageDir.create_file/swapped operands of `%`