As is known, the differential equation for two-phase filtration with account for capillarity was obtained in [1], and later integrated numerically for the case of a uniform stratum of finite length in [2]. Other versions of the solution of the Rapoport-Leas equation or the system which is equivalent to it are known [3, 4]. This article presents the results of a numerical solution of an analogous problem with account for nonuniform permeability of the stratum.